Trigger check all when an exercise is done but not marked as such #1696
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - website | |
| - .github/workflows/website.yml | |
| - '*.md' | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - website | |
| - .github/workflows/website.yml | |
| - '*.md' | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| clippy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Clippy | |
| run: cargo clippy -- --deny warnings | |
| fmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: rustfmt | |
| run: cargo fmt --all --check | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: swatinem/rust-cache@v2 | |
| - name: cargo test | |
| env: | |
| RUST_BACKTRACE: 1 | |
| run: cargo test --workspace | |
| dev-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: swatinem/rust-cache@v2 | |
| - name: rustlings dev check | |
| run: cargo dev check --require-solutions | |
| rumdl: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: rvben/rumdl@v0 |