Skip to content

Commit

Permalink
feat: do not allow warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanvivien committed Oct 30, 2023
1 parent 876131f commit 6400541
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -70,7 +73,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Tests
- name: Run tests
Expand All @@ -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/[email protected]
- name: format
run: cargo fmt --all -- --check

0 comments on commit 6400541

Please sign in to comment.