Skip to content

Commit 4464351

Browse files
authored
Merge pull request #445 from hashgraph/sr/ci-token
ci: use token for authentication in `setup-protoc`
2 parents 37b98b6 + fb8163b commit 4464351

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/rust-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
3636
- name: Install Protoc
3737
uses: arduino/setup-protoc@v1
38+
with:
39+
repo-token: ${{ secrets.GITHUB_TOKEN }}
40+
3841

3942
- name: Check
4043
run: cargo check --features ffi
@@ -55,6 +58,8 @@ jobs:
5558
5659
- name: Install Protoc
5760
uses: arduino/setup-protoc@v1
61+
with:
62+
repo-token: ${{ secrets.GITHUB_TOKEN }}
5863

5964
- name: Test
6065
run: cargo test --features ffi

.github/workflows/swift-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
defaults:
2020
run:
2121
working-directory: sdk/rust
22+
2223
runs-on: ubuntu-22.04
2324
steps:
2425
- uses: actions/checkout@v3
@@ -32,7 +33,9 @@ jobs:
3233
3334
- name: Install Protoc
3435
uses: arduino/setup-protoc@v1
35-
36+
with:
37+
repo-token: ${{ secrets.GITHUB_TOKEN }}
38+
3639
- name: Install rust-src
3740
run: rustup component add rust-src
3841

0 commit comments

Comments
 (0)