ADD vuklln check

This commit is contained in:
maximo tejeda 2024-11-16 22:09:06 -04:00
parent 4d1e262afd
commit 353b046344

View File

@ -6,14 +6,14 @@ on:
- dev
- 'feature/**'
jobs:
build:
runs-on: ubuntu-latest
env:
TOKEN: ${{ secrets.TOKEN }}
USERNAME: ${{ vars.USERNAME }}
TAG_VERSION: ${{ github.ref_name }}
test:
runs-on: ubuntu-latest
steps:
- name:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
@ -21,8 +21,16 @@ jobs:
with:
go-version-file: 'go.mod'
- name: Build
run: go build -v ./...
- name: test with go
run: go test -v ./...
vulnCheck:
runs-on: ubuntu-latest
steps:
- name: checkout Code
uses: actions/checkout@v4
- name: go vuln check
uses: golang/govulncheck-action@v1
with:
go-version-file: 'go.mod'