8
8
9
9
name : Continuous integration
10
10
11
+ env :
12
+ PROTOC_VERSION : " 3.25.3"
13
+
11
14
jobs :
12
15
test :
13
16
name : Test Suite
@@ -27,10 +30,10 @@ jobs:
27
30
if : ${{ matrix.rust == 'stable' || matrix.rust == 'beta' }}
28
31
- name : Get latest CMake and ninja
29
32
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
32
35
with :
33
- repo-token : ${{ secrets.GITHUB_TOKEN }}
36
+ tool : protoc@ ${{ env.PROTOC_VERSION }}
34
37
- run : cargo test --all-features
35
38
36
39
lints :
@@ -46,10 +49,10 @@ jobs:
46
49
components : clippy, rustfmt
47
50
- name : Get latest CMake and ninja
48
51
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
51
54
with :
52
- repo-token : ${{ secrets.GITHUB_TOKEN }}
55
+ tool : protoc@ ${{ env.PROTOC_VERSION }}
53
56
- run : cargo fmt --all -- --check
54
57
- run : cargo clippy --all -- -D warnings
55
58
- run : cargo check
@@ -75,10 +78,10 @@ jobs:
75
78
- uses : actions/checkout@v2
76
79
with :
77
80
submodules : recursive
78
- - name : Install Protoc
79
- uses : arduino/setup-protoc@v1
81
+ - name : install protoc
82
+ uses : taiki-e/install-action@v2
80
83
with :
81
- repo-token : ${{ secrets.GITHUB_TOKEN }}
84
+ tool : protoc@ ${{ env.PROTOC_VERSION }}
82
85
- name : Generate code coverage
83
86
run : |
84
87
cargo tarpaulin --verbose --packages prost-reflect prost-reflect-tests --all-features --timeout 120 --out xml
0 commit comments