Skip to content

test(checks): add negative cases and fix tautological assertions #367

test(checks): add negative cases and fix tautological assertions

test(checks): add negative cases and fix tautological assertions #367

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.74
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --workspace -- -D warnings
- name: Test
run: cargo test --workspace
- name: Build
run: cargo build --workspace --release
- name: Check test-contracts fixtures
run: |
set -e
for d in test-contracts/*/; do
if [ -f "$d/Cargo.toml" ]; then
echo "::group::cargo check $d"
(cd "$d" && cargo check)
echo "::endgroup::"
fi
done