diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fa208599..f62492a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,18 +104,18 @@ jobs: toolchain: ${{ env.TOOLCHAIN }} target: ${{ env.TARGET}} components: rustfmt, clippy -# - run: make schema -# if: ${{ env.ARTIFACTS_EXIST == 'false' }} + - run: make schema + if: ${{ env.ARTIFACTS_EXIST == 'false' }} - run: cargo fetch --verbose if: ${{ env.ARTIFACTS_EXIST == 'false' }} -# - run: cargo clippy --all --all-targets -- -D warnings -# if: ${{ env.ARTIFACTS_EXIST == 'false' }} + - run: cargo clippy --all --all-targets -- -D warnings + if: ${{ env.ARTIFACTS_EXIST == 'false' }} - run: cargo test --verbose --all if: ${{ env.ARTIFACTS_EXIST == 'false' }} env: RUST_BACKTRACE: 1 -# - run: cargo fmt -- --check -# if: ${{ env.ARTIFACTS_EXIST == 'false' }} + - run: cargo fmt -- --check + if: ${{ env.ARTIFACTS_EXIST == 'false' }} - run: make compile if: ${{ env.ARTIFACTS_EXIST == 'false' }} - run: make -j$(nproc) check_contracts