Skip to content

Commit 97fd1b2

Browse files
authored
Merge pull request #150 from waywardmonkeys/update-ci
ci: Update actions.
2 parents 1e6f80a + b245641 commit 97fd1b2

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/parry-ci-build.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
check-fmt:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Check formatting
1818
run: cargo fmt -- --check
1919
build-native:
2020
runs-on: ubuntu-latest
2121
env:
2222
RUSTFLAGS: -D warnings
2323
steps:
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v3
2525
- run: sudo apt-get install -y cmake libxcb-composite0-dev
2626
- name: Build parry2d
2727
run: cargo build --verbose -p parry2d;
@@ -40,7 +40,7 @@ jobs:
4040
env:
4141
RUSTFLAGS: -D warnings
4242
steps:
43-
- uses: actions/checkout@v2
43+
- uses: actions/checkout@v3
4444
- run: rustup target add wasm32-unknown-unknown
4545
- name: build parry2d
4646
run: cd crates/parry2d && cargo build --verbose --target wasm32-unknown-unknown;
@@ -49,12 +49,11 @@ jobs:
4949
build-no-std:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5353
- name: Install latest nightly
54-
uses: actions-rs/toolchain@v1
54+
uses: dtolnay/rust-toolchain@master
5555
with:
5656
toolchain: nightly
57-
override: true
5857
components: rustfmt
5958
- name: install xargo
6059
run: cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo;
@@ -69,11 +68,10 @@ jobs:
6968
with:
7069
cuda: '11.5.0'
7170
- name: Install nightly-2021-12-04
72-
uses: actions-rs/toolchain@v1
71+
uses: dtolnay/rust-toolchain@master
7372
with:
7473
toolchain: nightly-2021-12-04
75-
override: true
76-
- uses: actions/checkout@v2
74+
- uses: actions/checkout@v3
7775
- run: rustup target add nvptx64-nvidia-cuda
7876
- run: cargo build --no-default-features --features required-features,cuda
7977
- run: cargo build --no-default-features --features required-features,cuda --target=nvptx64-nvidia-cuda

0 commit comments

Comments
 (0)