diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2be3a125d..c6258f443 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,28 +62,7 @@ jobs: - name: Check formatting run: cargo fmt -- --check - clippy2: - runs-on: oracles-20.04 - concurrency: - group: ${{ github.workflow }}-${{ github.ref }}-clippy2 - cancel-in-progress: true - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Rust install - uses: dtolnay/rust-toolchain@stable - with: - components: clippy - - - name: Install protoc - run: sudo apt-get install -y protobuf-compiler - - - name: Clippy - run: cargo clippy --all-targets -- -Dclippy::all -D warnings - clippy: - needs: build runs-on: oracles-20.04 concurrency: group: ${{ github.workflow }}-${{ github.ref }}-clippy @@ -96,21 +75,10 @@ jobs: uses: dtolnay/rust-toolchain@stable with: components: clippy - + - name: Install protoc run: sudo apt-get install -y protobuf-compiler - - name: Cache - uses: actions/cache@v4 - with: - path: | - ~/.cargo/bin/ - ~/.cargo/registry/index/ - ~/.cargo/registry/cache/ - ~/.cargo/git/db/ - target/ - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: Clippy run: cargo clippy --all-targets -- -Dclippy::all -D warnings