Skip to content

Vulnerability scan

Vulnerability scan #8

Workflow file for this run

name: "Vulnerability scan"
on:
push:
tags:
- v*
branches:
- main
pull_request:
workflow_dispatch:
schedule:
# every day at 7am UTC
- cron: '0 7 * * *'
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
show-progress: false
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
with:
base-ref: ${{ github.event.pull_request.base.sha || github.event.before }}
head-ref: ${{ github.event.pull_request.head.sha || github.sha }}
govulncheck:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
with:
show-progress: false
- name: govulncheck
uses: golang/govulncheck-action@v1
with:
repo-checkout: false
go-version-file: go.mod