Merge pull request #517 from enescakir/fix/curl-timeout #1268
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: Vulncheck | |
| on: | |
| pull_request: | |
| push: | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| vulncheck: | |
| name: Run govulncheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.25' # GO_VERSION_DEF | |
| check-latest: true | |
| - name: Get official govulncheck | |
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
| shell: bash | |
| - name: Run govulncheck | |
| run: govulncheck ./... | |
| shell: bash | |
| versioncheck: | |
| name: Run go-supported-version-check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Go Supported Version | |
| uses: dopplerhq/go-supported-version-check-action@v1 | |
| with: | |
| go-version: "1.25" # GO_VERSION_DEF | |
| version-requirement: any-supported |