Skip to content

Support for including go-licenses #25

Support for including go-licenses

Support for including go-licenses #25

Workflow file for this run

name: "govulncheck"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '23 13 * * 1'
jobs:
govulncheck_job:
runs-on: ubuntu-latest
name: Run govulncheck
steps:
- uses: actions/checkout@v3
- name: Extract Go version
run:
GO_VERSION=$(grep "^go [0-9]\+\.[0-9]\+\.[0-9]\+" go.mod | awk '{print $2}')
echo "GO_VERSION=$GO_VERSION" >> $GITHUB_ENV
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: ${{ env.GO_VERSION }}
go-package: ./...