docs(readme): document example build target #41
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: Vulnerability Scan | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| schedule: | |
| - cron: '17 9 * * 1' | |
| workflow_dispatch: | |
| concurrency: | |
| group: vuln-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name != 'schedule' }} | |
| permissions: | |
| contents: read | |
| jobs: | |
| govulncheck: | |
| name: govulncheck (Go ${{ matrix.go-version }}) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: | |
| # renovate: datasource=custom.go-supported-floor depName=go-floor versioning=semver-coerced | |
| - '1.25.x' | |
| # renovate: datasource=custom.go-supported-latest depName=go-latest versioning=semver-coerced | |
| - '1.26.x' | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| check-latest: true | |
| - name: Run govulncheck | |
| run: make govulncheck |