fix: get ETag from resp.Body rather than resp.Header #582
Workflow file for this run
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: VulnCheck | |
on: | |
pull_request: | |
branches: | |
- master | |
- main | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
vulncheck: | |
name: Analysis | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ 1.22.7 ] | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
check-latest: true | |
- name: Get govulncheck | |
run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
shell: bash | |
- name: Run govulncheck | |
run: govulncheck ./... | |
shell: bash |