diff options
| author | mo8it <mo8it@proton.me> | 2024-07-03 17:49:41 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-03 17:49:41 +0200 |
| commit | df64893f2b7abe288d54ab3a7d25e64fee6299b7 (patch) | |
| tree | 1a74cd24872bfc03cdfef8c0e600c2d2d619f25a /.github/workflows/rust.yml | |
| parent | 28d2bb04326d7036514245d73f10fb72b9ed108c (diff) | |
Update CI
Diffstat (limited to '.github/workflows/rust.yml')
| -rw-r--r-- | .github/workflows/rust.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 689d05e..9edd8eb 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,25 +18,25 @@ jobs: fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: rustfmt - - uses: DavidAnson/markdownlint-cli2-action@v9 + - uses: DavidAnson/markdownlint-cli2-action@v16 with: globs: "exercises/**/*.md" - name: Run cargo fmt - run: | - cargo fmt --all -- --check + run: cargo fmt --all -- --check test: runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: swatinem/rust-cache@v2 - name: Run cargo test - run: | - cargo test + run: cargo test + - name: Run rustlings dev check + run: cargo run -- dev check |
