ci: Update actions/checkout from v3 to v4

This commit is contained in:
Bruce Mitchener
2024-04-19 12:23:40 +07:00
committed by Sébastien Crozet
parent a36f161ce6
commit ea323b3fc3

View File

@@ -13,7 +13,7 @@ jobs:
check-fmt: check-fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check formatting - name: Check formatting
run: cargo fmt -- --check run: cargo fmt -- --check
build-native: build-native:
@@ -21,7 +21,7 @@ jobs:
env: env:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: sudo apt-get install -y cmake libxcb-composite0-dev - run: sudo apt-get install -y cmake libxcb-composite0-dev
- name: Clippy - name: Clippy
run: cargo clippy run: cargo clippy
@@ -60,7 +60,7 @@ jobs:
env: env:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: rustup target add wasm32-unknown-unknown - run: rustup target add wasm32-unknown-unknown
- name: build rapier2d - name: build rapier2d
run: cd crates/rapier2d && cargo build --verbose --features wasm-bindgen --target wasm32-unknown-unknown; run: cd crates/rapier2d && cargo build --verbose --features wasm-bindgen --target wasm32-unknown-unknown;
@@ -71,7 +71,7 @@ jobs:
env: env:
RUSTFLAGS: -D warnings RUSTFLAGS: -D warnings
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: rustup target add wasm32-unknown-emscripten - run: rustup target add wasm32-unknown-emscripten
- name: build rapier2d - name: build rapier2d
run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten; run: cd crates/rapier2d && cargo build --verbose --target wasm32-unknown-emscripten;