1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-10 08:15:25 +02:00

fix(security): update dependency and binary version [EE-5798] (#10192)

This commit is contained in:
Oscar Zhou 2023-09-05 17:23:12 +12:00 committed by GitHub
parent a02f9f1f07
commit 0f1e77a6d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 30 additions and 21 deletions

View file

@ -61,7 +61,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v3
with:
go-version: '1.19.5'
go-version: '1.21.0'
- name: download Go modules
run: cd ./api && go get -t -v -d ./...
@ -72,7 +72,7 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: |
yarn global add snyk
snyk test --file=./api/go.mod --json-file-output=snyk.json 2>/dev/null || :
snyk test --file=./go.mod --json-file-output=snyk.json 2>/dev/null || :
- name: upload scan result as develop artifact
uses: actions/upload-artifact@v3