build: add protobuf compiler to github ci workflow
This commit is contained in:
@@ -4,7 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test_nostr-rs-relay:
|
test_nostr-rs-relay:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -13,26 +13,27 @@ jobs:
|
|||||||
|
|
||||||
- name: Update local toolchain
|
- name: Update local toolchain
|
||||||
run: |
|
run: |
|
||||||
|
apt install -y protobuf-compiler
|
||||||
rustup update
|
rustup update
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
rustup install nightly
|
rustup install nightly
|
||||||
|
|
||||||
- name: Toolchain info
|
- name: Toolchain info
|
||||||
run: |
|
run: |
|
||||||
cargo --version --verbose
|
cargo --version --verbose
|
||||||
rustc --version
|
rustc --version
|
||||||
cargo clippy --version
|
cargo clippy --version
|
||||||
|
|
||||||
# - name: Lint
|
# - name: Lint
|
||||||
# run: |
|
# run: |
|
||||||
# cargo fmt -- --check
|
# cargo fmt -- --check
|
||||||
# cargo clippy -- -D warnings
|
# cargo clippy -- -D warnings
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cargo check
|
cargo check
|
||||||
cargo test --all
|
cargo test --all
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --release
|
cargo build --release --locked
|
||||||
|
|||||||
Reference in New Issue
Block a user