Skip to content

Commit

Permalink
Target latest stable Rust version in CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez authored Nov 13, 2022
1 parent 7b8cf4a commit 2af5ad0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Check formatting
run: cargo fmt -- --check
test:
Expand All @@ -22,6 +28,12 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- uses: Swatinem/rust-cache@v1
- run: sudo apt update && sudo apt-get install pkg-config libx11-dev libasound2-dev libudev-dev
- name: Clippy for bevy_rapier2d
Expand All @@ -42,6 +54,12 @@ jobs:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: clippy
- run: rustup target add wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v1
- name: Clippy bevy_rapier2d
Expand Down

0 comments on commit 2af5ad0

Please sign in to comment.