mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 00:59:07 -05:00
build: add protobuf compiler to github ci workflow
This commit is contained in:
parent
15e2f097aa
commit
b960ab70de
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user