Skip to content

Commit

Permalink
chore(ci): tidy compute job (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz authored Dec 7, 2022
1 parent 023fed2 commit f606efd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18.3'
go-version: '1.19'
- name: Install protoc
run: |
sudo mkdir -p /usr/src/protoc/
Expand Down Expand Up @@ -125,14 +125,15 @@ jobs:
run: |
export CLOUD_GO=$(pwd)
cd internal/gapicgen
go mod tidy
go run cloud.google.com/go/internal/gapicgen/cmd/genbot \
-local \
-regen-only \
-only-gapics \
-gapic=cloud.google.com/go/compute/apiv1 \
-gocloud-dir=$CLOUD_GO \
-googleapis-dir=$GOOGLEAPIS
cd $CLOUD_GO/compute && go get -u ./apiv1
cd $CLOUD_GO/compute && go get -u ./apiv1 && go mod tidy
- name: Compare regenerated code to baseline
if: "!contains(github.event.pull_request.labels.*.name, 'breaking change allowed')"
run: |
Expand Down

0 comments on commit f606efd

Please sign in to comment.