Upgrade to golang 1.21.12 #91
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: gendependabot | |
on: | |
pull_request: | |
paths: | |
- '.github/dependabot.yml' | |
- '.github/workflows/gendependabot.yml' | |
- '.github/workflows/scripts/gendependabot.sh' | |
env: | |
GO_VERSION: 1.21.12 | |
jobs: | |
gendependabot: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
cache-dependency-path: '**/go.sum' | |
- run: make gendependabot | |
- name: Check .github/dependabot.yml | |
run: | | |
if ! git diff --exit-code .github/dependabot.yml; then | |
echo ".github/dependabot.yml is out of date. Run 'make gendependabot' and push the changes" | |
exit 1 | |
fi |