Skip to content

Commit eb1eda2

Browse files
committed
fix: CVE-2025-61726 - upgrade go version to >1.25.5
Signed-off-by: Shubham Bhardwaj <shubbhar@redhat.com>
1 parent 085896b commit eb1eda2

5 files changed

Lines changed: 215 additions & 12 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: golangci-lint
4646
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
4747
with:
48-
version: v2.1.6
48+
version: v2.9.0
4949
only-new-issues: true
5050
args: --timeout=10m
5151
- name: yamllint
@@ -93,6 +93,3 @@ jobs:
9393
- name: make cross
9494
run: |
9595
make cross
96-
e2e-tests:
97-
needs: [build]
98-
uses: ./.github/workflows/e2e-matrix.yml

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ name: "CodeQL"
1313

1414
on:
1515
push:
16-
branches: [main]
16+
branches:
17+
- main
18+
- release-*
1719
pull_request:
1820
# The branches below must be a subset of the branches above
19-
branches: [main]
21+
branches:
22+
- main
23+
- release-*
2024
schedule:
2125
- cron: '30 20 * * 2'
2226

@@ -38,11 +42,11 @@ jobs:
3842

3943
steps:
4044
- name: Checkout repository
41-
uses: actions/checkout@v4
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4246

4347
# Initializes the CodeQL tools for scanning.
4448
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v3
49+
uses: github/codeql-action/init@45580472a5bb82c4681c4ac726cfdb60060c2ee1 # v3.32.4
4650
with:
4751
languages: ${{ matrix.language }}
4852
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -51,7 +55,7 @@ jobs:
5155
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5256

5357
# setup cache to speed up the action
54-
- uses: actions/cache@v4
58+
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
5559
with:
5660
path: |
5761
~/.cache/go-build
@@ -81,4 +85,4 @@ jobs:
8185
make bin/tkn
8286
8387
- name: Perform CodeQL Analysis
84-
uses: github/codeql-action/analyze@v3
88+
uses: github/codeql-action/analyze@45580472a5bb82c4681c4ac726cfdb60060c2ee1 # v3.32.4

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ lint-yaml: ${YAML_FILES} ; $(info $(M) running yamllint…) ## runs yamllint on
118118
@yamllint -c .yamllint $(YAML_FILES)
119119

120120
## Tests
121-
TEST_UNIT_TARGETS := test-unit-verbose test-unit-race
121+
TEST_UNIT_TARGETS := test-unit-verbose test-unit-race test-unit-verbose-and-race
122122
test-unit-verbose: ARGS=-v
123123
test-unit-race: ARGS=-race
124+
test-unit-verbose-and-race: ARGS=-v -race
124125
$(TEST_UNIT_TARGETS): test-unit
125126
.PHONY: $(TEST_UNIT_TARGETS) test-unit
126127
test-unit: ; $(info $(M) running unit tests…) ## Run unit tests

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tektoncd/cli
22

3-
go 1.25.0
3+
go 1.25.6
44

55
require (
66
github.com/AlecAivazis/survey/v2 v2.3.7

vendor/github.com/alibabacloud-go/cr-20160607/LICENSE

Lines changed: 201 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)