From b3c903ba9179f3c0ce2c174cd3d978974333f1bb Mon Sep 17 00:00:00 2001 From: Fedor Sakharov Date: Wed, 9 Oct 2024 19:29:41 +0200 Subject: [PATCH 1/2] temporarily remove buf and add cargo checking --- .github/workflows/ci.yml | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 481527f..aa6e278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,11 +15,22 @@ jobs: runs-on: ubuntu-latest steps: - - name: Install Protoc - uses: arduino/setup-protoc@v3 - uses: actions/checkout@v4 - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose - - uses: bufbuild/buf-action@v1 + + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Rust Cache + uses: Swatinem/rust-cache@v2 + + - name: cargo build + run: cargo build --verbose + + - name: cargo clippy + run: cargo clippy -- -D warnings + + - name: cargo fmt + run: cargo fmt --check From 87743402950ce39b4c93714f446966ab185ccb11 Mon Sep 17 00:00:00 2001 From: Fedor Sakharov Date: Wed, 9 Oct 2024 19:34:20 +0200 Subject: [PATCH 2/2] bring back protoc --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa6e278..b3dec1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Install Protoc + uses: arduino/setup-protoc@v3 + - uses: actions/checkout@v4 - name: Install stable toolchain