build(deps): bump github/codeql-action from 3.26.0 to 3.26.11 #980
Workflow file for this run
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: CI Build and Test for PR | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: check format | |
run: make check_format | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: build and test | |
run: make docker_tests | |
precommits: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 | |
with: | |
python-version: "3.9" | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: "1.21.5" | |
- name: run pre-commits | |
run: | | |
make precommit_install | |
pre-commit run -a | |
# If previous stage fails, print resolution steps | |
- if: ${{ failure() }} | |
name: Read for resolution steps | |
run: | | |
echo "Pre-commits failed! Run 'make precommit_install' then 'pre-commits run -a' to fix." | |
exit 1 |