Skip to content

Commit 5ea582a

Browse files
authored
Use auth token for protoc (#193)
1 parent d970f28 commit 5ea582a

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
toolchain: ${{ matrix.rust }}
3030
components: rustfmt
3131
profile: minimal
32-
- uses: arduino/setup-protoc@v1
32+
- uses: arduino/setup-protoc@v3
33+
with:
34+
repo-token: ${{ secrets.GITHUB_TOKEN }}
3335
- name: Test
3436
run: ./scripts/test.sh
3537
lint:
@@ -43,7 +45,9 @@ jobs:
4345
toolchain: stable
4446
components: rustfmt
4547
profile: minimal
46-
- uses: arduino/setup-protoc@v1
48+
- uses: arduino/setup-protoc@v3
49+
with:
50+
repo-token: ${{ secrets.GITHUB_TOKEN }}
4751
- uses: actions-rs/cargo@v1
4852
with:
4953
command: fmt
@@ -90,7 +94,9 @@ jobs:
9094
toolchain: nightly
9195
components: rustfmt
9296
override: true
93-
- uses: arduino/setup-protoc@v1
97+
- uses: arduino/setup-protoc@v3
98+
with:
99+
repo-token: ${{ secrets.GITHUB_TOKEN }}
94100
- name: doc
95101
run: cargo doc --no-deps --all-features
96102
env:
@@ -108,7 +114,9 @@ jobs:
108114
toolchain: stable
109115
components: rustfmt,llvm-tools-preview
110116
override: true
111-
- uses: arduino/setup-protoc@v1
117+
- uses: arduino/setup-protoc@v3
118+
with:
119+
repo-token: ${{ secrets.GITHUB_TOKEN }}
112120
- name: cargo install cargo-llvm-cov
113121
uses: taiki-e/install-action@cargo-llvm-cov
114122
- name: cargo generate-lockfile

0 commit comments

Comments
 (0)