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 c16fec6 commit 47f13dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,20 +41,22 @@ jobs:
- name: Set up Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
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'
run: |
cargo test --release --workspace
cargo test --workspace
# Only on push to PR
- name: On Push to Pull Request
if: github.ref != 'refs/heads/master'
Expand Down

0 comments on commit 47f13dd

Please sign in to comment.