From b960ab70decd58318db2536f96d85e521f6d1db7 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Mon, 13 Feb 2023 07:48:09 -0600 Subject: [PATCH] build: add protobuf compiler to github ci workflow --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 586f78b..6e65122 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: push: branches: - master - + jobs: test_nostr-rs-relay: runs-on: ubuntu-latest @@ -13,26 +13,27 @@ jobs: - name: Update local toolchain run: | + apt install -y protobuf-compiler rustup update rustup component add clippy - rustup install nightly + rustup install nightly - name: Toolchain info run: | cargo --version --verbose rustc --version - cargo clippy --version + cargo clippy --version # - name: Lint # run: | # cargo fmt -- --check - # cargo clippy -- -D warnings + # cargo clippy -- -D warnings - name: Test run: | cargo check - cargo test --all + cargo test --all - name: Build run: | - cargo build --release + cargo build --release --locked