feat: add one-command install scripts #2
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: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| audit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| # make audit runs: go mod verify, go vet, staticcheck, govulncheck, | |
| # and the race-enabled test suite. The ubuntu runner ships gcc, so the | |
| # cgo-backed -race detector works here. | |
| - name: audit | |
| run: make audit |