Skip to content

Commit

Permalink
Add USE_BAZEL_VERSION to all Bazel command lines
Browse files Browse the repository at this point in the history
Also quote Bazel and Go versions in GitHub Actions.
  • Loading branch information
mbrukman committed Jan 13, 2024
1 parent 83c09bb commit 5f9f318
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
go-version: '${{ matrix.go }}'

- name: Setup Bazelisk
uses: bazelbuild/setup-bazelisk@v1
env:
USE_BAZEL_VERSION: ${{ matrix.bazel }}
USE_BAZEL_VERSION: '${{ matrix.bazel }}'

- name: Setup cache
uses: actions/cache@v2
Expand All @@ -77,12 +77,18 @@ jobs:
- name: Verify Bazel installation
run: bazel version
env:
USE_BAZEL_VERSION: '${{ matrix.bazel }}'

- name: Build
run: bazel build //...
env:
USE_BAZEL_VERSION: '${{ matrix.bazel }}'

- name: Run tests
run: bazel test //...
env:
USE_BAZEL_VERSION: '${{ matrix.bazel }}'

ui:
strategy:
Expand Down

0 comments on commit 5f9f318

Please sign in to comment.