mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2025-03-14 19:42:48 +00:00
42 lines
801 B
YAML
42 lines
801 B
YAML
name: Go Vulnerability Checker
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
paths:
|
|
- '.github/workflows/govuln.yml'
|
|
- '**.go'
|
|
- 'go.*'
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths:
|
|
- '.github/workflows/govuln.yml'
|
|
- '**.go'
|
|
- 'go.*'
|
|
schedule:
|
|
- cron: "0 2 * * SUN"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version:
|
|
- "1.22"
|
|
- "1.23"
|
|
- "1.24"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- run: date
|
|
|
|
- name: Install and run govulncheck
|
|
run: |
|
|
set -euo pipefail
|
|
go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
govulncheck ./...
|