Update bazel-contrib/.github action to v7.2.4 (#111) #263
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| folder: [".", "examples/module", "examples/workspace"] | |
| version: ["7.1.0", "8.0.0rc1"] | |
| os: ["ubuntu-latest", "windows-latest"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: bazel-contrib/setup-bazel@0.15.0 | |
| with: | |
| repository-cache: true | |
| bazelrc: common --announce_rc --color=yes --enable_workspace | |
| - name: Configure Bazel version | |
| working-directory: ${{ matrix.folder }} | |
| run: | | |
| echo "${{ matrix.version }}" > .bazelversion | |
| bazel version | |
| - name: Build | |
| working-directory: ${{ matrix.folder }} | |
| run: bazel build ... | |
| - name: Test | |
| working-directory: ${{ matrix.folder }} | |
| run: bazel test ... | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - working-directory: examples/workspace | |
| run: ./minimal_download_test.sh |