Bump golang from 1.21.5 to 1.23.2 in /examples/xds-sotw-config-server #60
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@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- name: check format | |
run: make check_format | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- name: build and test | |
run: make docker_tests | |
precommits: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 | |
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 | |
with: | |
python-version: "3.9" | |
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0 | |
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 |