chore(deps): bump the go_modules group across 1 directories with 2 updates #335
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: Test Go | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: go mod tidy | |
run: | | |
go mod tidy | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "Run 'go mod tidy' and push it" | |
exit 1 | |
fi | |
- name: Run tests | |
run: make test | |
shell: bash |