Skip to content

Commit 70181af

Browse files
committed
fix vulnerability
Signed-off-by: sivchari <[email protected]>
1 parent 1265e83 commit 70181af

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/vulncheck.yml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: vulncheck
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
- 'release-*'
8+
pull_request:
9+
branches:
10+
- 'master'
11+
- 'release-*'
12+
13+
env:
14+
# Golang version to use across CI steps
15+
# renovate: datasource=golang-version packageName=golang
16+
GOLANG_VERSION: '1.24.1'
17+
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
vulncheck:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout code
30+
uses: actions/checkout@8410ad0602e1e429cee44a835ae9f77f654a6694 # v4.0.0
31+
32+
- name: Run govulncheck
33+
uses: golang/govulncheck-action@v1
34+
with:
35+
go-version-input: ${{ env.GOLANG_VERSION }}
36+
repo-checkout: false

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/argoproj/gitops-engine
22

3-
go 1.23.5
3+
go 1.24.1
44

55
require (
66
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc

0 commit comments

Comments
 (0)