diff --git a/.github/workflows/rust_basic.yml b/.github/workflows/rust_basic.yml index 758ec050c..b1fc2fd4d 100644 --- a/.github/workflows/rust_basic.yml +++ b/.github/workflows/rust_basic.yml @@ -14,10 +14,6 @@ on: default: true type: boolean -env: - RUSTC_WRAPPER: cachepot - CARGO_TARGET_DIR: ~/target - jobs: checks: runs-on: ubuntu-latest @@ -26,21 +22,8 @@ jobs: uses: actions/checkout@v3 - name: Install Rust uses: dtolnay/rust-toolchain@stable - - name: Restore dependencies - id: restore-cache - uses: actions/cache/restore@v4 - with: - path: | - ~/.cache/cachepot - ~/.cargo - ~/go - ~/target - key: ${{ runner.os }}-cache-osmosis-${{ github.sha }} - restore-keys: ${{ runner.os }}-cache-osmosis - - name: Update PATH - run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Rust lint - run: cargo clippy --features test-tube --all-targets -- -D warnings + run: cargo clippy --all-targets -- -D warnings working-directory: smart-contracts/${{ inputs.workspace }} - name: Rust format check run: cargo fmt --all -- --check