Skip to content

Commit 1d6c140

Browse files
committed
chore: Update go dependecies and CI pipelines (#249)
Signed-off-by: Sergiy Kulanov <[email protected]>
1 parent 6362e13 commit 1d6c140

File tree

5 files changed

+169
-125
lines changed

5 files changed

+169
-125
lines changed

.github/workflows/codecov.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v5
1515

1616
- name: Set up Go
17-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@v6
1818
with:
1919
go-version: ${{ env.GOLANG_VERSION }}
2020

.github/workflows/pr.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Run tests"
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
tests:
15+
name: Run tests
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Check out code into the Go module directory
20+
uses: actions/checkout@v5
21+
22+
- name: Set up Go
23+
uses: actions/setup-go@v6
24+
with:
25+
go-version: "1.24"
26+
27+
- name: "run tests"
28+
run: make build && make test

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
SOURCE_TAG: ${{ github.ref }}
1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
with:
2121
fetch-depth: '0'
2222

2323
- name: Set up Go
24-
uses: actions/setup-go@v5
24+
uses: actions/setup-go@v6
2525
with:
2626
go-version: ${{ env.GOLANG_VERSION }}
2727

go.mod

Lines changed: 43 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,39 @@ replace (
88
github.com/openshift/api => github.com/openshift/api v0.0.0-20231118005202-0f638a8a4705
99
)
1010

11+
// Force cel-go to v0.22.1 for k8s.io/apiserver v0.32.x compatibility
12+
// Tekton v1.x (v1.0.0-v1.7.0) uses cel-go v0.24.1-v0.26.1, but k8s.io/apiserver v0.32.x
13+
// requires cel-go v0.22.x. Without this replace, compilation fails with CEL function signature errors.
14+
// This can be removed when Tekton aligns with k8s apiserver's CEL version or apiserver updates.
15+
replace github.com/google/cel-go => github.com/google/cel-go v0.22.1
16+
1117
require (
1218
github.com/andygrunwald/go-jira v1.16.0
1319
github.com/cespare/xxhash/v2 v2.3.0
1420
github.com/epam/edp-cd-pipeline-operator/v2 v2.25.1
1521
github.com/epam/edp-common v0.0.0-20230710145648-344bbce4120e
1622
github.com/go-git/go-git/v5 v5.16.2
17-
github.com/go-logr/logr v1.4.2
23+
github.com/go-logr/logr v1.4.3
1824
github.com/go-resty/resty/v2 v2.16.5
1925
github.com/jarcoal/httpmock v1.4.0
2026
github.com/oapi-codegen/runtime v1.1.1
2127
github.com/onsi/ginkgo/v2 v2.23.4
2228
github.com/onsi/gomega v1.37.0
2329
github.com/openshift/api v3.9.0+incompatible
24-
github.com/stretchr/testify v1.10.0
25-
github.com/tektoncd/pipeline v0.70.0
26-
github.com/tektoncd/triggers v0.31.0
30+
github.com/stretchr/testify v1.11.1
31+
github.com/tektoncd/pipeline v1.6.0
32+
github.com/tektoncd/triggers v0.34.0
2733
golang.org/x/crypto v0.45.0
28-
k8s.io/api v0.31.6
29-
k8s.io/apimachinery v0.31.6
30-
k8s.io/client-go v0.31.6
31-
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
32-
knative.dev/pkg v0.0.0-20250117084104-c43477f0052b
33-
sigs.k8s.io/controller-runtime v0.19.7
34+
k8s.io/api v0.32.11
35+
k8s.io/apimachinery v0.32.11
36+
k8s.io/client-go v0.32.11
37+
k8s.io/utils v0.0.0-20241210054802-24370beab758
38+
knative.dev/pkg v0.0.0-20250415155312-ed3e2158b883
39+
sigs.k8s.io/controller-runtime v0.20.4
3440
)
3541

3642
require (
37-
cel.dev/expr v0.19.1 // indirect
43+
cel.dev/expr v0.24.0 // indirect
3844
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect
3945
contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
4046
dario.cat/mergo v1.0.0 // indirect
@@ -50,7 +56,7 @@ require (
5056
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
5157
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
5258
github.com/emirpasic/gods v1.18.1 // indirect
53-
github.com/evanphx/json-patch/v5 v5.9.0 // indirect
59+
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
5460
github.com/fatih/structs v1.1.0 // indirect
5561
github.com/fsnotify/fsnotify v1.7.0 // indirect
5662
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
@@ -67,40 +73,39 @@ require (
6773
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
6874
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
6975
github.com/golang/protobuf v1.5.4 // indirect
70-
github.com/google/cel-go v0.24.1 // indirect
71-
github.com/google/gnostic-models v0.6.8 // indirect
76+
github.com/google/btree v1.1.3 // indirect
77+
github.com/google/cel-go v0.26.1 // indirect
78+
github.com/google/gnostic-models v0.6.9 // indirect
7279
github.com/google/go-cmp v0.7.0 // indirect
7380
github.com/google/go-querystring v1.1.0 // indirect
7481
github.com/google/gofuzz v1.2.0 // indirect
7582
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 // indirect
7683
github.com/google/uuid v1.6.0 // indirect
77-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.25.1 // indirect
78-
github.com/hashicorp/errwrap v1.1.0 // indirect
79-
github.com/hashicorp/go-multierror v1.1.1 // indirect
84+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
8085
github.com/hashicorp/golang-lru v1.0.2 // indirect
81-
github.com/imdario/mergo v0.3.16 // indirect
8286
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
8387
github.com/josharian/intern v1.0.0 // indirect
8488
github.com/json-iterator/go v1.1.12 // indirect
8589
github.com/kelseyhightower/envconfig v1.4.0 // indirect
8690
github.com/kevinburke/ssh_config v1.2.0 // indirect
87-
github.com/mailru/easyjson v0.7.7 // indirect
91+
github.com/klauspost/compress v1.18.0 // indirect
92+
github.com/mailru/easyjson v0.9.0 // indirect
8893
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
8994
github.com/modern-go/reflect2 v1.0.2 // indirect
9095
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
9196
github.com/pjbgf/sha1cd v0.3.2 // indirect
9297
github.com/pkg/errors v0.9.1 // indirect
9398
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
94-
github.com/prometheus/client_golang v1.19.1 // indirect
99+
github.com/prometheus/client_golang v1.20.5 // indirect
95100
github.com/prometheus/client_model v0.6.1 // indirect
96-
github.com/prometheus/common v0.55.0 // indirect
101+
github.com/prometheus/common v0.62.0 // indirect
97102
github.com/prometheus/procfs v0.15.1 // indirect
98103
github.com/prometheus/statsd_exporter v0.22.7 // indirect
99104
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
100105
github.com/sirupsen/logrus v1.9.3 // indirect
101106
github.com/skeema/knownhosts v1.3.1 // indirect
102-
github.com/spf13/pflag v1.0.5 // indirect
103-
github.com/stoewer/go-strcase v1.2.0 // indirect
107+
github.com/spf13/pflag v1.0.9 // indirect
108+
github.com/stoewer/go-strcase v1.3.0 // indirect
104109
github.com/stretchr/objx v0.5.2 // indirect
105110
github.com/tidwall/gjson v1.14.4 // indirect
106111
github.com/trivago/tgo v1.0.7 // indirect
@@ -110,32 +115,33 @@ require (
110115
go.uber.org/automaxprocs v1.6.0 // indirect
111116
go.uber.org/multierr v1.11.0 // indirect
112117
go.uber.org/zap v1.27.0 // indirect
113-
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
118+
go.yaml.in/yaml/v2 v2.4.2 // indirect
119+
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
114120
golang.org/x/net v0.47.0 // indirect
115-
golang.org/x/oauth2 v0.27.0 // indirect
121+
golang.org/x/oauth2 v0.32.0 // indirect
116122
golang.org/x/sync v0.18.0 // indirect
117123
golang.org/x/sys v0.38.0 // indirect
118124
golang.org/x/term v0.37.0 // indirect
119125
golang.org/x/text v0.31.0 // indirect
120-
golang.org/x/time v0.9.0 // indirect
126+
golang.org/x/time v0.12.0 // indirect
121127
golang.org/x/tools v0.38.0 // indirect
122128
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
123-
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
124-
google.golang.org/api v0.217.0 // indirect
125-
google.golang.org/genproto/googleapis/api v0.0.0-20250115164207-1a7da9e5054f // indirect
126-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
127-
google.golang.org/grpc v1.70.0 // indirect
128-
google.golang.org/protobuf v1.36.5 // indirect
129+
gomodules.xyz/jsonpatch/v2 v2.5.0 // indirect
130+
google.golang.org/api v0.233.0 // indirect
131+
google.golang.org/genproto/googleapis/api v0.0.0-20250804133106-a7a43d27e69b // indirect
132+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b // indirect
133+
google.golang.org/grpc v1.76.0 // indirect
134+
google.golang.org/protobuf v1.36.10 // indirect
129135
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
130136
gopkg.in/inf.v0 v0.9.1 // indirect
131137
gopkg.in/warnings.v0 v0.1.2 // indirect
132138
gopkg.in/yaml.v2 v2.4.0 // indirect
133139
gopkg.in/yaml.v3 v3.0.1 // indirect
134-
k8s.io/apiextensions-apiserver v0.31.4 // indirect
140+
k8s.io/apiextensions-apiserver v0.32.9 // indirect
135141
k8s.io/klog/v2 v2.130.1 // indirect
136-
k8s.io/kube-openapi v0.0.0-20240808142205-8e686545bdb8 // indirect
142+
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
137143
knative.dev/eventing v0.30.3 // indirect
138-
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
139-
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
140-
sigs.k8s.io/yaml v1.4.0 // indirect
144+
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
145+
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
146+
sigs.k8s.io/yaml v1.6.0 // indirect
141147
)

0 commit comments

Comments
 (0)