Update dependency rules_python to v1.7.0 #27
Workflow file for this run
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
| # SPDX-License-Identifier: MIT | |
| name: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| bazel_build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bazel-contrib/[email protected] | |
| with: | |
| disk-cache: continuous_integration_bazel_build | |
| bazelisk-cache: true | |
| external-cache: true | |
| repository-cache: true | |
| - name: Bazel Build | |
| run: | | |
| bazel build //... | |
| buildifier_check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bazel-contrib/[email protected] | |
| with: | |
| disk-cache: continuous_integration_buildifier_check | |
| bazelisk-cache: true | |
| external-cache: true | |
| repository-cache: true | |
| - name: Buildifier Check | |
| run: | | |
| bazel run -- @buildifier --mode=check $(pwd)/*.b*z*l $(pwd)/example/*.b*z*l $(pwd)/workflows/*.b*z*l | |
| example_test: | |
| strategy: | |
| matrix: | |
| runner: | |
| - macos-latest | |
| - ubuntu-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: bazel-contrib/[email protected] | |
| with: | |
| module-root: "example" | |
| disk-cache: continuous_integration_example_test | |
| bazelisk-cache: true | |
| external-cache: true | |
| repository-cache: true | |
| - name: Example Bazel Test | |
| working-directory: "example" | |
| run: | | |
| bazel test //... |