Skip to content

Commit

Permalink
Disable VCS stamping for gosec action
Browse files Browse the repository at this point in the history
Signed-off-by: Chetan Banavikalmutt <[email protected]>
  • Loading branch information
chetan-rns authored and jgwest committed Mar 26, 2024
1 parent 4673ee6 commit 6a75064
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ on:
- "main"
pull_request:
branches:
- '*'
- "*"

env:
GOLANG_VERSION: '1.21'
GOLANG_VERSION: "1.21"

jobs:
unit-tests:
Expand All @@ -30,7 +30,6 @@ jobs:
run: |
make test
linting:
name: Go code linting
runs-on: ubuntu-latest
Expand All @@ -48,7 +47,7 @@ jobs:
with:
version: latest
args: --verbose --timeout 6m

build:
name: Build creation
runs-on: ubuntu-latest
Expand All @@ -69,10 +68,11 @@ jobs:
runs-on: ubuntu-latest
env:
GO111MODULE: on
GOFLAGS: -buildvcs=false
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
args: ./...

0 comments on commit 6a75064

Please sign in to comment.