From e20d1bd1ac1960401cd42a6419abc2c121e6ca6c Mon Sep 17 00:00:00 2001 From: Erwan Vivien Date: Mon, 30 Oct 2023 16:34:11 +0100 Subject: [PATCH] feat: do not allow warnings --- .github/workflows/rust.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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