Skip to content

Commit df64893

Browse files
committed
Update CI
1 parent 28d2bb0 commit df64893

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/rust.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,25 +18,25 @@ jobs:
1818
fmt:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- uses: dtolnay/rust-toolchain@stable
2323
with:
2424
components: rustfmt
25-
- uses: DavidAnson/markdownlint-cli2-action@v9
25+
- uses: DavidAnson/markdownlint-cli2-action@v16
2626
with:
2727
globs: "exercises/**/*.md"
2828
- name: Run cargo fmt
29-
run: |
30-
cargo fmt --all -- --check
29+
run: cargo fmt --all -- --check
3130
test:
3231
runs-on: ${{ matrix.os }}
3332
strategy:
3433
matrix:
3534
os: [ubuntu-latest, windows-latest, macOS-latest]
3635
steps:
37-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3837
- uses: dtolnay/rust-toolchain@stable
3938
- uses: swatinem/rust-cache@v2
4039
- name: Run cargo test
41-
run: |
42-
cargo test
40+
run: cargo test
41+
- name: Run rustlings dev check
42+
run: cargo run -- dev check

0 commit comments

Comments
 (0)