File tree 1 file changed +13
-11
lines changed
1 file changed +13
-11
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
-
You can’t perform that action at this time.
0 commit comments