Skip to content

update to v2 (#415) #963

update to v2 (#415)

update to v2 (#415) #963

Workflow file for this run

name: Validate
on:
workflow_dispatch:
push:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Hadolint
uses: hadolint/[email protected]
- name: Goreleaser Check
uses: goreleaser/[email protected]
with:
args: check
- name: Go Mod Tidy
run: test -z $(go mod tidy)
- name: Lint
uses: golangci/[email protected]
- name: Test
run: go test -race -cover -v ./...
- name: Run govulncheck
run: govulncheck ./...