Add capslock for capability check (#2627) #818
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: master | |
permissions: {} | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
with: | |
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004 | |
go-version: '^1.20' | |
- run: go version | |
- run: make deps | |
- run: make check-fmt | |
- run: make vet | |
- run: make staticcheck | |
- run: make check-race | |
- run: make osv-scanner | |
- run: make gosec | |
- run: make govulncheck | |
- run: make capslock | |
- run: make publish-coverage |