File tree 4 files changed +31
-0
lines changed
4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 21
21
- uses : dtolnay/rust-toolchain@nightly
22
22
with :
23
23
toolchain : nightly-2024-07-27
24
+ - name : Install Protoc
25
+ uses : arduino/setup-protoc@v3
24
26
- uses : Swatinem/rust-cache@v2
25
27
with :
26
28
cache-on-failure : true
Original file line number Diff line number Diff line change 19
19
with :
20
20
persist-credentials : false
21
21
- uses : dtolnay/rust-toolchain@clippy
22
+ - name : Install Protoc
23
+ uses : arduino/setup-protoc@v3
22
24
- uses : Swatinem/rust-cache@v2
23
25
with :
24
26
cache-on-failure : true
41
43
- uses : dtolnay/rust-toolchain@nightly
42
44
with :
43
45
toolchain : nightly-2024-07-27
46
+ - name : Install Protoc
47
+ uses : arduino/setup-protoc@v3
44
48
- uses : taiki-e/install-action@cargo-hack
45
49
- uses : Swatinem/rust-cache@v2
46
50
with :
@@ -99,6 +103,15 @@ jobs:
99
103
run : |
100
104
taplo fmt --check
101
105
106
+ proto :
107
+ name : Lint Protocol Buffers
108
+ runs-on : ubuntu-latest
109
+ steps :
110
+ - uses : actions/checkout@v4
111
+ with :
112
+ persist-credentials : false
113
+ - uses : bufbuild/buf-action@v1
114
+
102
115
lint-success :
103
116
name : Check that lints passed
104
117
runs-on : ubuntu-latest
@@ -109,6 +122,7 @@ jobs:
109
122
- fmt
110
123
- codespell
111
124
- taplo
125
+ - proto
112
126
timeout-minutes : 30
113
127
steps :
114
128
- name : Decide whether the needed jobs succeeded or failed
Original file line number Diff line number Diff line change 32
32
with :
33
33
components : llvm-tools-preview
34
34
toolchain : nightly-2024-07-27
35
+ - name : Install Protoc
36
+ uses : arduino/setup-protoc@v3
35
37
- name : Install latest nextest release
36
38
uses : taiki-e/install-action@v2
37
39
with :
76
78
- uses : dtolnay/rust-toolchain@nightly
77
79
with :
78
80
toolchain : nightly-2024-07-27
81
+
82
+ - name : Install Protoc
83
+ uses : arduino/setup-protoc@v3
84
+
79
85
- uses : Swatinem/rust-cache@v2
80
86
with :
81
87
cache-on-failure : true
Original file line number Diff line number Diff line change
1
+ version : v2
2
+ modules :
3
+ - path : proto
4
+ lint :
5
+ use :
6
+ - STANDARD
7
+ except :
8
+ - PACKAGE_VERSION_SUFFIX
9
+ - ENUM_VALUE_PREFIX
You can’t perform that action at this time.
0 commit comments