Migrate to Bazel 8, refresh other dependencies #82
This file contains 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: Check Code Style | |
# We use action's triggers 'push' and 'pull_request'. | |
# The strategy is the following: this action will be | |
# triggered on any push to 'main' branch and any pull | |
# request to any branch. Thus we avoid duplicate work- | |
# flows. | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
check_code_style: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["ubuntu-20.04"] | |
steps: | |
# We should checkout the repo with submodules | |
# cause we need to have symlink to | |
# dev-tools/.clang-format file for all code | |
# style checks. | |
- uses: actions/checkout@v2 | |
with: | |
# We don't need special credentials since this is a public repo | |
# that only depends on other public repos. | |
submodules: "recursive" | |
# Call the composite action to check files | |
# for correct code style. This action (action.yml) | |
# is in `dev-tools` submodule. | |
- uses: ./submodules/dev-tools/check-code-style | |
with: | |
os: ${{matrix.os}} |