Skip to content

Security vulnerability scan #201

Security vulnerability scan

Security vulnerability scan #201

name: Security vulnerability scan
on:
schedule:
- cron: '20 02 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
go:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target:
- govulncheck
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- name: Scan
run: make scan-go-${{ matrix.target }}
node:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
target:
- npm-audit
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Scan
run: make scan-node-${{ matrix.target }}