Skip to content

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 13, 2024
1 parent 159cb61 commit 2dec1d5
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/security-build.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,9 @@

name: Security Build
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
Expand All @@ -30,7 +15,7 @@ jobs:
env:
DEBUG: "true"
with:
go-version: 1.18 # this mush match your code's golang version
go-version: 1.21.x
vulncheck-version: latest
package: ./...
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 2dec1d5

Please sign in to comment.