Skip to content

Commit 15bbdfe

Browse files
Fix CI (#180)
1 parent f5621a8 commit 15bbdfe

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88

99
name: Continuous integration
1010

11+
env:
12+
PROTOC_VERSION: "3.25.3"
13+
1114
jobs:
1215
test:
1316
name: Test Suite
@@ -27,10 +30,10 @@ jobs:
2730
if: ${{ matrix.rust == 'stable' || matrix.rust == 'beta' }}
2831
- name: Get latest CMake and ninja
2932
uses: lukka/get-cmake@latest
30-
- name: Install Protoc
31-
uses: arduino/setup-protoc@v1
33+
- name: install protoc
34+
uses: taiki-e/install-action@v2
3235
with:
33-
repo-token: ${{ secrets.GITHUB_TOKEN }}
36+
tool: protoc@${{ env.PROTOC_VERSION }}
3437
- run: cargo test --all-features
3538

3639
lints:
@@ -46,10 +49,10 @@ jobs:
4649
components: clippy, rustfmt
4750
- name: Get latest CMake and ninja
4851
uses: lukka/get-cmake@latest
49-
- name: Install Protoc
50-
uses: arduino/setup-protoc@v1
52+
- name: install protoc
53+
uses: taiki-e/install-action@v2
5154
with:
52-
repo-token: ${{ secrets.GITHUB_TOKEN }}
55+
tool: protoc@${{ env.PROTOC_VERSION }}
5356
- run: cargo fmt --all -- --check
5457
- run: cargo clippy --all -- -D warnings
5558
- run: cargo check
@@ -75,10 +78,10 @@ jobs:
7578
- uses: actions/checkout@v2
7679
with:
7780
submodules: recursive
78-
- name: Install Protoc
79-
uses: arduino/setup-protoc@v1
81+
- name: install protoc
82+
uses: taiki-e/install-action@v2
8083
with:
81-
repo-token: ${{ secrets.GITHUB_TOKEN }}
84+
tool: protoc@${{ env.PROTOC_VERSION }}
8285
- name: Generate code coverage
8386
run: |
8487
cargo tarpaulin --verbose --packages prost-reflect prost-reflect-tests --all-features --timeout 120 --out xml

0 commit comments

Comments
 (0)