diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 15828c2..da66f7a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,11 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install wasm32-unknown-unknown target run: rustup target add wasm32-unknown-unknown + - name: Set RUSTFLAGS to deny warnings + run: export RUSTFLAGS="--deny warnings" + # With no feature. Target: normal & wasm & wasm-bindgen - name: Build run: cargo build --verbose @@ -53,7 +56,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install wasm32-unknown-unknown target run: rustup target add wasm32-unknown-unknown @@ -70,7 +73,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Tests - name: Run tests @@ -80,8 +83,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Typos - name: typos-action uses: crate-ci/typos@v1.0.4 + - name: format + run: cargo fmt --all -- --check \ No newline at end of file