Skip to content

Release v2.3.0 (#329) #357

Release v2.3.0 (#329)

Release v2.3.0 (#329) #357

Workflow file for this run

name: govulncheck
on:
pull_request:
types: [opened, synchronize]
push:
branches: [master]
schedule:
- cron: '30 0 1,15 * *'
jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Read Go version from go.mod
id: go-version
run: echo "GO_VERSION=$(grep '^go ' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV
- name: Scan for Vulnerabilities in Code
uses: Templum/govulncheck-action@0eeca9d81f01facc00829cc99a14e44ce59ce80f # [email protected]
with:
go-version: ${{ env.GO_VERSION }}
package: ./...
fail-on-vuln: true