Skip to content

Commit

Permalink
Merge pull request #224 from InvArch/gabriel-change_build_action
Browse files Browse the repository at this point in the history
Change build action
  • Loading branch information
arrudagates authored Mar 11, 2024
2 parents 8f24d1d + 2885fdd commit 693850e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,33 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
- name: Install & display rust toolchain
run: rustup show
- name: Build
run: cargo build --verbose

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
- name: Install & display rust toolchain
run: rustup show
- name: Run tests
run: cargo test --verbose

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
components: clippy
- name: Install & display rust toolchain
run: rustup show
- name: Run clippy
run: cargo clippy -- -D warnings
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-09-01
components: rustfmt
- name: Install & display rust toolchain
run: rustup show
- name: Run cargofmt
run: cargo fmt --all -- --check
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2023-12-01"
channel = "nightly-2024-02-06"
targets = ["wasm32-unknown-unknown"]
components = [ "rustfmt", "rustc", "rust-std", "cargo", "clippy", "llvm-tools-preview"]

0 comments on commit 693850e

Please sign in to comment.