refactor: Add installation of protobuf compiler to Rust setup action
This commit is contained in:
5
.github/actions/setup-rust/action.yaml
vendored
5
.github/actions/setup-rust/action.yaml
vendored
@@ -64,3 +64,8 @@ runs:
|
|||||||
toolchain: ${{ inputs.toolchain }}
|
toolchain: ${{ inputs.toolchain }}
|
||||||
override: ${{ inputs.override }}
|
override: ${{ inputs.override }}
|
||||||
components: ${{ inputs.components }}
|
components: ${{ inputs.components }}
|
||||||
|
|
||||||
|
- name: install protobuf compiler
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y protobuf-compiler
|
||||||
|
|||||||
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@@ -31,11 +31,6 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: install protobuf compiler
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y protobuf-compiler
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all-features
|
run: cargo test --all-features
|
||||||
|
|
||||||
@@ -61,11 +56,6 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
frontend-build-${{ runner.os }}-
|
frontend-build-${{ runner.os }}-
|
||||||
|
|
||||||
- name: install protobuf compiler
|
|
||||||
run: |
|
|
||||||
apt-get update
|
|
||||||
apt-get install -y protobuf-compiler
|
|
||||||
|
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy --all-features
|
run: cargo clippy --all-features
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user