Skip to content

Merge pull request #6 from akyrey/dependabot/github_actions/golangci/… #74

Merge pull request #6 from akyrey/dependabot/github_actions/golangci/…

Merge pull request #6 from akyrey/dependabot/github_actions/golangci/… #74

Workflow file for this run

name: vuln
permissions: {} # no need any permissions
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 10 * * 1' # run "At 10:00 on Monday"
workflow_call:
jobs:
run:
name: Vuln
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
matrix:
go: ["stable", "oldstable"]
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
run: govulncheck -test ./...