Skip to content

Commit

Permalink
Stick on gosec v2.16.0
Browse files Browse the repository at this point in the history
The now latest version v2.17.0 will cause error as below:

    Golang errors in file: []:

      > [line 0 : column 0] - error obtaining VCS status: exit status 128
            Use -buildvcs=false to disable VCS stamping.

      > [line 0 : column 0] - error obtaining VCS status: exit status 128
            Use -buildvcs=false to disable VCS stamping.

      > [line 0 : column 0] - error obtaining VCS status: exit status 128
            Use -buildvcs=false to disable VCS stamping.

      > [line 0 : column 0] - error obtaining VCS status: exit status 128
            Use -buildvcs=false to disable VCS stamping.

This probably due to the fact that 2.17.0 updated its Go version, which might conflicts with the github action OS installed version.
  • Loading branch information
magodo committed Sep 25, 2023
1 parent b3500d6 commit db72f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v2

- name: Run Gosec Security Scanner
uses: securego/gosec@master
uses: securego/gosec@v2.16.0
with:
args: './...'

Expand Down

0 comments on commit db72f40

Please sign in to comment.