Skip to content

Fix symbol upload (#21) #28

Fix symbol upload (#21)

Fix symbol upload (#21) #28

Workflow file for this run

name: Nightly govulncheck
on:
workflow_call: # allows to reuse this workflow
inputs:
ref:
description: 'The branch to run the workflow on'
required: true
type: string
push:
branches:
- main
- release-v*
schedule:
- cron: '00 00 * * *'
workflow_dispatch:
jobs:
govulncheck-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
- name: Get Go version from go.mod file
id: go-version
run: echo "version=$(go mod edit -json | jq -r .Go)" >> "${GITHUB_OUTPUT}"
- name: Checkout Go
uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.version }}
- name: Install govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
run: govulncheck ./...