Skip to content

Commit

Permalink
Add govulncheck workflow (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstmdev authored Sep 27, 2023
1 parent 25b4b89 commit b9f5a45
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Govulncheck

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:

build:
strategy:
matrix:
go: [ 'stable' ]
os: [ 'ubuntu-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

- name: Scan Vulnerabilities
run: chmod +x ./scripts/govulncheck.sh && ./scripts/govulncheck.sh

0 comments on commit b9f5a45

Please sign in to comment.