File tree Expand file tree Collapse file tree 10 files changed +26
-11
lines changed
Expand file tree Collapse file tree 10 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 2222 - name : Set up Go
2323 uses : actions/setup-go@v3
2424 with :
25- go-version : ' 1.22.9 '
25+ go-version : ' 1.24.8 '
2626
2727 - name : Install dependencies
2828 run : |
4848 - name : Set up Go
4949 uses : actions/setup-go@v3
5050 with :
51- go-version : ' 1.22.9 '
51+ go-version : ' 1.24.8 '
5252
5353 - name : Install dependencies
5454 run : |
Original file line number Diff line number Diff line change 6060 # arm64 is more expensive to build, so only build it on the default branch or for tags
6161 platforms : ${{ (env.IS_DEFAULT_BRANCH == 'true' || env.IS_TAG == 'true') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
6262 cache-from : type=local,src=/tmp/.buildx-cache
63- cache-to : type=local,dest=/tmp/.buildx-cache
63+ cache-to : type=local,dest=/tmp/.buildx-cache
64+ load : ${{ env.IS_DEFAULT_BRANCH != 'true' && env.IS_TAG != 'true' }}
65+
66+ - name : Run Trivy vulnerability scanner
67+ uses : aquasecurity/trivy-action@master
68+ with :
69+ image-ref : ghcr.io/${{ github.repository_owner }}/cortex-axon-agent:${{ steps.meta.outputs.version }}
70+ format : ' sarif'
71+ output : ' trivy-results.sarif'
72+ severity : ' CRITICAL,HIGH'
73+
74+ - name : Upload Trivy scan results to GitHub Security tab
75+ uses : github/codeql-action/upload-sarif@v3
76+ if : always()
77+ with :
78+ sarif_file : ' trivy-results.sarif'
Original file line number Diff line number Diff line change 11module github.com/cortexapps/axon
22
3- go 1.22.9
3+ go 1.24.8
44
55require (
66 github.com/google/uuid v1.6.0
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ services:
6464 stop_grace_period : 1s # SIGKILL after 1s
6565
6666 cortex-fake :
67- image : golang:1.22 -alpine
67+ image : golang:1.24 -alpine
6868 volumes :
6969 - .:/src
7070 environment :
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ ARG SNYK_BROKER_VERSION=4.203.4
1010RUN wget -q -O - https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt install -y nodejs
1111RUN npm install -g snyk-broker@${SNYK_BROKER_VERSION}
1212
13- ENV GOLANG_VERSION=1.22.9
13+ ENV GOLANG_VERSION=1.24.8
1414# Install Go, this script will work for ARM or AMD64
1515RUN wget -q -O /tmp/goinstall.sh https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh && chmod +x /tmp/goinstall.sh && /tmp/goinstall.sh --version ${GOLANG_VERSION}
1616
Original file line number Diff line number Diff line change 11module github.com/cortexapps/axon_apps/axon-ev-sync
22
3- go 1.22.9
3+ go 1.24.8
44
55require (
66 github.com/cortexapps/axon-go v0.0.0
Original file line number Diff line number Diff line change 11module github.com/cortexapps/axon-go
22
3- go 1.22.9
3+ go 1.24.8
44
55require (
66 github.com/google/uuid v1.6.0
Original file line number Diff line number Diff line change 11module github.com/cortexapps/axon_apps/{{.ProjectName}}
22
3- go 1.22.9
3+ go 1.24.8
44
55require (
66 github.com/google/uuid v1.6.0
Original file line number Diff line number Diff line change 11module github.com/cortexapps/axon-go
22
3- go 1.22.9
3+ go 1.24.8
44
55require (
66 github.com/google/uuid v1.6.0
You can’t perform that action at this time.
0 commit comments