Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

docs: Archive announcement in README.md (#14) #12

docs: Archive announcement in README.md (#14)

docs: Archive announcement in README.md (#14) #12

Workflow file for this run

name: Govulncheck
on:
push:
branches:
- main
pull_request:
jobs:
govulncheck:
runs-on: ubuntu-latest
name: Govulncheck
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4.0.0
with:
go-version: 1.21.0
- uses: actions/cache@v3
id: cache-govulneck
name: Load govulncheck cache
with:
key: ${{ runner.os }}-govulncheck-v1.0.0
path: |
/home/runner/go/bin/govulncheck
- name: Install govulncheck
if: steps.cache-govulncheck.outputs.cache-hit != 'true'
run: go install golang.org/x/vuln/cmd/govulncheck@v1.0.0
- name: Run govulncheck
run: govulncheck ./...