Skip to content

Commit

Permalink
Do not use cache for unit-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll committed Aug 26, 2024
1 parent 570a844 commit a48bd8e
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/rust_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ on:
default: true
type: boolean

env:
RUSTC_WRAPPER: cachepot
CARGO_TARGET_DIR: ~/target

jobs:
checks:
runs-on: ubuntu-latest
Expand All @@ -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
Expand Down

0 comments on commit a48bd8e

Please sign in to comment.