Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Update security-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mt-polygon-technology authored Mar 4, 2024
1 parent 7090752 commit 0b91ffd
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/security-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,18 @@ on:
push:
workflow_dispatch: {}


jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.17
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest

govuln:
name: Run govuln check and Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Running govulncheck
uses: Templum/govulncheck-action@v0.0.8
uses: Templum/govulncheck-action@v0.10.1
continue-on-error: true
env:
DEBUG: "true"
with:
go-version: 1.18 # this mush match your code's golang version
go-version: 1.21
vulncheck-version: latest
package: ./...
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0b91ffd

Please sign in to comment.