Skip to content

Commit

Permalink
adding govulncheck job test
Browse files Browse the repository at this point in the history
  • Loading branch information
igorlombacx committed Sep 20, 2023
1 parent 4169277 commit a807320
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Checkmarx One CLI
on:
pull_request:

env:
GO_VERSION: '1.21.0-rc.4'

jobs:
unit-tests:
runs-on: ubuntu-latest
Expand All @@ -14,7 +17,7 @@ jobs:
- name: Set up Go version
uses: actions/setup-go@v4
with:
go-version: '1.21.0-rc.4'
go-version: ${{ env.GO_VERSION }}
- run: go version
- name: Setup git
run: git config --global url."https://${{ secrets.PERSONAL_ACCESS_TOKEN }}:@github.com/".insteadOf "https://github.com"
Expand Down Expand Up @@ -47,7 +50,7 @@ jobs:
- name: Set up Go version
uses: actions/setup-go@v4
with:
go-version: '1.21.0-rc.4'
go-version: ${{ env.GO_VERSION }}
- run: go version
- name: Go Build
run: go build -o ./bin/cx ./cmd
Expand Down Expand Up @@ -115,7 +118,7 @@ jobs:
- name: Set up Go version
uses: actions/setup-go@v4
with:
go-version: '1.21.0-rc.4'
go-version: ${{ env.GO_VERSION }}
- run: go version
- name: Setup git
run: git config --global url."https://${{ secrets.PERSONAL_ACCESS_TOKEN }}:@github.com/".insteadOf "https://github.com"
Expand Down

0 comments on commit a807320

Please sign in to comment.