From c16fec60e3f6b0bdcb5c5a45b281932819b69f8a Mon Sep 17 00:00:00 2001 From: Magorsky Date: Sun, 2 Jun 2024 22:52:15 +0300 Subject: [PATCH] fix --- .github/workflows/contracts.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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'