Bump the github-actions group with 2 updates #223
This file contains hidden or 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: 'Coverage Badge' | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: {} | |
| jobs: | |
| build-test: | |
| name: 'Check Coverage Badge' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: 'Set up Go' | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.23' | |
| - name: 'Install gobadge' | |
| run: go install github.com/AlexBeauchemin/[email protected] | |
| - name: 'Run gobadge' | |
| run: ./scripts/covbadge.sh | |
| - name: 'Fail if not updated' | |
| run: git diff -U0 --exit-code |