Skip to content

Commit 7402844

Browse files
committed
[update] rustup to install cargo fmt.
1 parent 6fc8f51 commit 7402844

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

.github/workflows/compile_lambda_rs.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: compile & test lambda-rs (wgpu)
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
pull_request:
8-
branches: [ main ]
8+
branches: [main]
99

1010
workflow_dispatch:
1111

@@ -20,15 +20,15 @@ jobs:
2020
strategy:
2121
matrix:
2222
include:
23-
- os: ubuntu-latest
24-
rustup-toolchain: "stable"
25-
features: "lambda-rs/with-vulkan"
26-
- os: windows-latest
27-
rustup-toolchain: "stable"
28-
features: "lambda-rs/with-dx12"
29-
- os: macos-latest
30-
rustup-toolchain: "stable"
31-
features: "lambda-rs/with-metal"
23+
- os: ubuntu-latest
24+
rustup-toolchain: "stable"
25+
features: "lambda-rs/with-vulkan"
26+
- os: windows-latest
27+
rustup-toolchain: "stable"
28+
features: "lambda-rs/with-dx12"
29+
- os: macos-latest
30+
rustup-toolchain: "stable"
31+
features: "lambda-rs/with-metal"
3232

3333
steps:
3434
- name: Checkout Repository
@@ -54,6 +54,7 @@ jobs:
5454
- name: Obtain rust toolchain for ${{ matrix.rustup-toolchain }}
5555
run: |
5656
rustup toolchain install ${{ matrix.rustup-toolchain }}
57+
rustup component add rustfmt
5758
rustup default ${{ matrix.rustup-toolchain }}
5859
5960
- name: Check formatting

0 commit comments

Comments
 (0)