Skip to content

Update GPU and CPU proto specs #33

Update GPU and CPU proto specs

Update GPU and CPU proto specs #33

Workflow file for this run

name: proto
on:
pull_request:
paths:
- "**.proto"
jobs:
breakage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup env
uses: HatsuneMiku3939/direnv-action@v1
- run: |
toolchain=$(cat go.mod | grep toolchain | cut -d ' ' -f 2 | sed 's/go*//')
echo "GOTOOLCHAIN=go${toolchain}" >> $GITHUB_ENV
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV
echo "GOROOT=/opt/hostedtoolcache/go/${toolchain}/x64" >> $GITHUB_ENV
- uses: actions/setup-go@v4
with:
go-version: "${{ env.GOVERSION }}"
- name: go mod vendor
run: make modvendor
- name: check-breakage
run: make check-breaking