diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 08521e698..c414c138f 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -32,16 +32,23 @@ jobs: all: name: Tests runs-on: self-hosted - container: - image: ghcr.io/gear-foundation/dapps/ci-rust:1.78.0 + #container: + # image: ghcr.io/gear-foundation/dapps/ci-rust:1.78.0 steps: - name: Checkout uses: actions/checkout@v4 + + - name: Set up Rust + uses: dtolnay/rust-toolchain@stable + with: + targets: wasm32-unknown-unknown + # mandatory tasks - name: Fmt run: 'cargo +nightly fmt --all -- --config imports_granularity=Crate,edition=2021' - name: Clippy run: 'cargo +nightly clippy --release --workspace --all-targets --all-features — -D warnings' + # Only on push to master - name: On Push to master if: github.ref != 'refs/heads/master'