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 1f8ff85 commit 32d6122
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/security-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,7 @@ 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 @@ -29,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

1 comment on commit 32d6122

@gsmmho
Copy link

@gsmmho gsmmho commented on 32d6122 Apr 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

Please sign in to comment.