File tree 2 files changed +14
-12
lines changed
2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -20,33 +20,35 @@ jobs:
20
20
generated-files-check :
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
24
- with :
25
- egress-policy : audit
26
- - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
23
+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
27
24
with :
28
25
submodules : recursive
29
26
- name : Verify Protobuf types are up to date
30
27
run : make proto && { if git status --porcelain | grep '??'; then exit 1; else git diff --name-status --exit-code; fi }
31
28
32
- - name : Verify Thrift types are up to date
29
+ - name : Verify Thrift types are up to date
33
30
run : make thrift && { if git status --porcelain | grep '??'; then exit 1; else git diff --name-status --exit-code; fi }
34
31
32
+ go-mod-tidy-check :
33
+ runs-on : ubuntu-latest
34
+ steps :
35
+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
36
+ - name : Verify go.mod files are up to date
37
+ run : |
38
+ go mod tidy && \
39
+ (cd internal/tools && go mod tidy) && \
40
+ { if git status --porcelain | grep '??'; then exit 1; else git diff --name-status --exit-code; fi }
41
+
35
42
lint :
36
43
runs-on : ubuntu-latest
37
44
steps :
38
45
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
39
46
with :
40
47
egress-policy : audit
41
- - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
48
+ - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
42
49
- uses : actions/setup-python@v5
43
50
with :
44
51
python-version : ' 3.x'
45
52
- name : Run lint checks
46
53
run : |
47
54
make lint
48
-
49
-
50
-
51
-
52
-
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ go 1.22.7
5
5
toolchain go1.23.5
6
6
7
7
require (
8
+ github.com/apache/thrift v0.21.0
8
9
github.com/gogo/googleapis v1.4.1
9
10
github.com/gogo/protobuf v1.3.2
10
11
github.com/stretchr/testify v1.10.0
@@ -14,7 +15,6 @@ require (
14
15
)
15
16
16
17
require (
17
- github.com/apache/thrift v0.21.0 // indirect
18
18
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
19
19
github.com/kr/text v0.2.0 // indirect
20
20
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
You can’t perform that action at this time.
0 commit comments