Skip to content

Commit 276169a

Browse files
committed
chore: update github actions
1 parent b92a440 commit 276169a

File tree

4 files changed

+36
-27
lines changed

4 files changed

+36
-27
lines changed

.github/workflows/build-test.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
outputs:
1717
codechange: "${{ steps.code-filter.outputs.codechange }}"
1818
steps:
19-
- uses: "actions/checkout@v3"
20-
- uses: "dorny/paths-filter@v2"
19+
- uses: "actions/checkout@v4"
20+
- uses: "dorny/paths-filter@v3"
2121
id: "code-filter"
2222
with:
2323
filters: |
@@ -38,21 +38,33 @@ jobs:
3838
if: |
3939
needs.paths-filter.outputs.codechange == 'true'
4040
steps:
41-
- uses: "actions/checkout@v3"
41+
- uses: "actions/checkout@v4"
4242
- uses: "authzed/actions/setup-go@main"
4343
- uses: "authzed/actions/go-build@main"
4444

45+
go-lint:
46+
name: "Lint Go"
47+
runs-on: "ubuntu-latest"
48+
needs: "paths-filter"
49+
if: |
50+
needs.paths-filter.outputs.codechange == 'true'
51+
steps:
52+
- uses: "actions/checkout@v4"
53+
- uses: "authzed/actions/setup-go@main"
54+
- name: "Lint Go"
55+
uses: "authzed/actions/golangci-lint@golangci-lint-v2"
56+
4557
unit:
4658
name: "Unit"
4759
runs-on: "ubuntu-latest-4-cores"
4860
needs: "paths-filter"
4961
if: |
5062
needs.paths-filter.outputs.codechange == 'true'
5163
steps:
52-
- uses: "actions/checkout@v3"
64+
- uses: "actions/checkout@v4"
5365
- uses: "authzed/actions/setup-go@main"
5466
- name: "Unit tests"
55-
uses: "magefile/mage-action@v2"
67+
uses: "magefile/mage-action@v3"
5668
with:
5769
version: "latest"
5870
args: "test:unit"
@@ -64,10 +76,10 @@ jobs:
6476
if: |
6577
needs.paths-filter.outputs.codechange == 'true'
6678
steps:
67-
- uses: "actions/checkout@v3"
79+
- uses: "actions/checkout@v4"
6880
- uses: "authzed/actions/setup-go@main"
6981
- name: "e2e tests"
70-
uses: "magefile/mage-action@v2"
82+
uses: "magefile/mage-action@v3"
7183
with:
7284
version: "latest"
73-
args: "test:e2e"
85+
args: "test:e2e"

.github/workflows/labeler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
triage:
1010
runs-on: "ubuntu-latest"
1111
steps:
12-
- uses: "actions/labeler@v3"
12+
- uses: "actions/labeler@v5"
1313
with:
1414
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1515
sync-labels: true

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
env:
1414
KUSTOMIZER_ARTIFACT: "oci://ghcr.io/${{github.repository_owner}}/${{github.event.repository.name}}-manifests"
1515
steps:
16-
- uses: "actions/checkout@v3"
16+
- uses: "actions/checkout@v4"
1717
with:
1818
fetch-depth: 0
1919
- uses: "authzed/actions/setup-go@main"

go.mod

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ require (
1111
github.com/cschleiden/go-workflows v1.0.1
1212
github.com/dustin/go-humanize v1.0.1
1313
github.com/ecordell/optgen v0.0.10-0.20230609182709-018141bf9698
14+
github.com/go-logr/logr v1.4.3
1415
github.com/go-playground/validator/v10 v10.27.0
1516
github.com/google/cel-go v0.25.0
1617
github.com/google/uuid v1.6.0
18+
github.com/samber/lo v1.51.0
1719
github.com/spf13/cobra v1.9.1
1820
github.com/spf13/pflag v1.0.6
1921
github.com/stretchr/testify v1.10.0
@@ -28,23 +30,9 @@ require (
2830
k8s.io/kubernetes v1.33.1
2931
)
3032

31-
require (
32-
buf.build/gen/go/gogo/protobuf/protocolbuffers/go v1.36.6-20240617172848-e1dbca2775a7.1 // indirect
33-
github.com/authzed/cel-go v0.20.2 // indirect
34-
github.com/authzed/consistent v0.1.0 // indirect
35-
github.com/exaring/otelpgx v0.9.3 // indirect
36-
github.com/google/gnostic-models v0.6.9 // indirect
37-
github.com/google/s2a-go v0.1.9 // indirect
38-
github.com/joho/godotenv v1.5.1 // indirect
39-
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
40-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
41-
k8s.io/apiextensions-apiserver v0.33.0 // indirect
42-
k8s.io/controller-manager v0.33.0 // indirect
43-
k8s.io/dynamic-resource-allocation v0.0.0 // indirect
44-
)
45-
4633
require (
4734
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.6-20250613105001-9f2d3c737feb.1 // indirect
35+
buf.build/gen/go/gogo/protobuf/protocolbuffers/go v1.36.6-20240617172848-e1dbca2775a7.1 // indirect
4836
buf.build/gen/go/prometheus/prometheus/protocolbuffers/go v1.36.6-20250320161912-af2aab87b1b3.1 // indirect
4937
cel.dev/expr v0.23.1 // indirect
5038
cloud.google.com/go v0.121.2 // indirect
@@ -68,6 +56,8 @@ require (
6856
github.com/OneOfOne/xxhash v1.2.8 // indirect
6957
github.com/Yiling-J/theine-go v0.6.1 // indirect
7058
github.com/antlr4-go/antlr/v4 v4.13.0 // indirect
59+
github.com/authzed/cel-go v0.20.2 // indirect
60+
github.com/authzed/consistent v0.1.0 // indirect
7161
github.com/authzed/ctxkey v0.0.0-20250226155515-d49f99185584 // indirect
7262
github.com/aws/aws-sdk-go-v2 v1.36.4 // indirect
7363
github.com/aws/aws-sdk-go-v2/config v1.29.16 // indirect
@@ -106,6 +96,7 @@ require (
10696
github.com/emirpasic/gods v1.18.1 // indirect
10797
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
10898
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
99+
github.com/exaring/otelpgx v0.9.3 // indirect
109100
github.com/fatih/color v1.18.0 // indirect
110101
github.com/felixge/httpsnoop v1.0.4 // indirect
111102
github.com/fsnotify/fsnotify v1.7.0 // indirect
@@ -115,7 +106,6 @@ require (
115106
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
116107
github.com/go-kit/log v0.2.1 // indirect
117108
github.com/go-logfmt/logfmt v0.5.1 // indirect
118-
github.com/go-logr/logr v1.4.3 // indirect
119109
github.com/go-logr/stdr v1.2.2 // indirect
120110
github.com/go-logr/zapr v1.3.0 // indirect
121111
github.com/go-logr/zerologr v1.2.3 // indirect
@@ -132,8 +122,10 @@ require (
132122
github.com/golang/protobuf v1.5.4 // indirect
133123
github.com/golang/snappy v1.0.0 // indirect
134124
github.com/google/btree v1.1.3 // indirect
125+
github.com/google/gnostic-models v0.6.9 // indirect
135126
github.com/google/go-cmp v0.7.0 // indirect
136127
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
128+
github.com/google/s2a-go v0.1.9 // indirect
137129
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
138130
github.com/googleapis/gax-go/v2 v2.14.2 // indirect
139131
github.com/gorilla/css v1.0.1 // indirect
@@ -159,6 +151,7 @@ require (
159151
github.com/jackc/pgx/v5 v5.7.5 // indirect
160152
github.com/jackc/puddle/v2 v2.2.2 // indirect
161153
github.com/jellydator/ttlcache/v3 v3.0.0 // indirect
154+
github.com/joho/godotenv v1.5.1 // indirect
162155
github.com/josharian/intern v1.0.0 // indirect
163156
github.com/json-iterator/go v1.1.12 // indirect
164157
github.com/jzelinskie/cobrautil/v2 v2.0.0-20240819150235-f7fe73942d0f // indirect
@@ -211,7 +204,6 @@ require (
211204
github.com/rs/zerolog v1.34.0 // indirect
212205
github.com/sagikazarmark/locafero v0.3.0 // indirect
213206
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
214-
github.com/samber/lo v1.51.0 // indirect
215207
github.com/samber/slog-common v0.18.1 // indirect
216208
github.com/samber/slog-zerolog/v2 v2.7.3 // indirect
217209
github.com/schollz/progressbar/v3 v3.18.0 // indirect
@@ -270,6 +262,8 @@ require (
270262
golang.org/x/tools v0.34.0 // indirect
271263
google.golang.org/api v0.236.0 // indirect
272264
google.golang.org/genproto v0.0.0-20250505200425-f936aa4a68b2 // indirect
265+
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
266+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
273267
google.golang.org/protobuf v1.36.6 // indirect
274268
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
275269
gopkg.in/go-jose/go-jose.v2 v2.6.3 // indirect
@@ -279,9 +273,12 @@ require (
279273
gopkg.in/yaml.v2 v2.4.0 // indirect
280274
gopkg.in/yaml.v3 v3.0.1 // indirect
281275
k8s.io/api v0.33.1 // indirect
276+
k8s.io/apiextensions-apiserver v0.33.0 // indirect
282277
k8s.io/cluster-bootstrap v0.0.0 // indirect
283278
k8s.io/component-helpers v0.33.1 // indirect
279+
k8s.io/controller-manager v0.33.0 // indirect
284280
k8s.io/csi-translation-lib v0.0.0 // indirect
281+
k8s.io/dynamic-resource-allocation v0.0.0 // indirect
285282
k8s.io/kms v0.33.1 // indirect
286283
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
287284
k8s.io/kubelet v0.33.1 // indirect

0 commit comments

Comments
 (0)