mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2026-03-14 14:35:44 +01:00
42 lines
809 B
YAML
42 lines
809 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.25"
|
|
- "1.26"
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
check-latest: true
|
|
|
|
- run: date
|
|
|
|
- name: Install and run govulncheck
|
|
run: |
|
|
set -euo pipefail
|
|
go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
govulncheck ./...
|