Skip verification for GetHashKey is the data is not signed #1
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: Lint and Test | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v4 | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
- name: Run golsangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: v1.57.2 | |
args: --timeout=180s | |
skip-cache: true | |
- name: Run tests | |
run: go test -v ./... | |
- name: Run tests with race check | |
run: go test -v -race ./... | |
- name: Run govulncheck | |
uses: ./.github/actions/govulncheck | |
with: | |
go-version-input: 1.21 | |
go-package: ./... | |