Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Magorsky committed Jun 2, 2024
1 parent d58d1d2 commit c16fec6
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c16fec6

Please sign in to comment.