diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 15828c2..1aa0526 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -14,7 +14,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - env: + RUSTFLAGS: "--deny warnings" - name: Install wasm32-unknown-unknown target run: rustup target add wasm32-unknown-unknown @@ -53,7 +55,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 +72,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Tests - name: Run tests @@ -80,8 +82,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