Skip to content

Commit 8cc21cf

Browse files
committed
fix nightly toolchain in check ci
1 parent 7d4af77 commit 8cc21cf

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/bevy_api_gen.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111

1212
name: Check and Lint - bevy_api_gen
1313

14+
env:
15+
RUST_TOOLCHAIN: nightly-2024-12-15
16+
1417
jobs:
1518
check:
1619
name: Check - bevy_api_gen
@@ -27,7 +30,7 @@ jobs:
2730
- uses: actions-rs/toolchain@v1
2831
with:
2932
profile: minimal
30-
toolchain: nightly-2024-11-05
33+
toolchain: ${{ env.RUST_TOOLCHAIN }}
3134
override: true
3235
- name: Rust Cache
3336
uses: Swatinem/rust-cache@v2.7.3
@@ -54,7 +57,7 @@ jobs:
5457
with:
5558
profile: minimal
5659
components: rustfmt
57-
toolchain: nightly-2024-11-05
60+
toolchain: ${{ env.RUST_TOOLCHAIN }}
5861
override: true
5962
- name: Rust Cache
6063
uses: Swatinem/rust-cache@v2.7.3
@@ -77,7 +80,7 @@ jobs:
7780
rm -rf crates
7881
- uses: actions-rs/toolchain@v1
7982
with:
80-
toolchain: nightly-2024-11-05
83+
toolchain: ${{ env.RUST_TOOLCHAIN }}
8184
components: clippy
8285
override: true
8386
- name: Rust Cache
@@ -100,7 +103,7 @@ jobs:
100103
rm -rf crates
101104
- uses: actions-rs/toolchain@v1
102105
with:
103-
toolchain: nightly-2024-11-05
106+
toolchain: ${{ env.RUST_TOOLCHAIN }}
104107
override: true
105108
- name: Rust Cache
106109
uses: Swatinem/rust-cache@v2.7.3
@@ -122,7 +125,7 @@ jobs:
122125
rm -rf crates
123126
- uses: actions-rs/toolchain@v1
124127
with:
125-
toolchain: nightly-2024-11-05
128+
toolchain: ${{ env.RUST_TOOLCHAIN }}
126129
override: true
127130
- name: Rust Cache
128131
uses: Swatinem/rust-cache@v2.7.3

0 commit comments

Comments
 (0)