mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-06 22:04:45 +00:00
Update pipeline
This commit is contained in:
parent
ae444eb3da
commit
7019f4d178
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
@ -22,22 +22,22 @@ jobs:
|
|||||||
- uses: DavidAnson/markdownlint-cli2-action@v16
|
- uses: DavidAnson/markdownlint-cli2-action@v16
|
||||||
with:
|
with:
|
||||||
globs: "exercises/**/*.md"
|
globs: "exercises/**/*.md"
|
||||||
- name: Run cargo fmt
|
- name: rustfmt
|
||||||
run: cargo fmt --all --check
|
run: cargo fmt --all --check
|
||||||
test:
|
test:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: swatinem/rust-cache@v2
|
- uses: swatinem/rust-cache@v2
|
||||||
- name: Run cargo test
|
- name: cargo test
|
||||||
run: cargo test --workspace
|
run: cargo test --workspace
|
||||||
dev-check:
|
dev-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: swatinem/rust-cache@v2
|
- uses: swatinem/rust-cache@v2
|
||||||
- name: Run rustlings dev check
|
- name: rustlings dev check
|
||||||
run: cargo run -- dev check --require-solutions
|
run: cargo run -- dev check --require-solutions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user