diff options
| author | mo8it <mo8it@proton.me> | 2024-07-13 12:32:23 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-13 12:32:23 +0200 |
| commit | 2854dc9ab347ae500e2a2fe4b6ec6c785fb5796f (patch) | |
| tree | 885105b51d7d7dcefaea01058d1b22d3da2f7572 /.github | |
| parent | 516fcf9168391555aacc7e99f51a99d6a87536c6 (diff) | |
Update CI and release hook
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b68cb1b..5c423e2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,7 +23,9 @@ jobs: with: globs: "exercises/**/*.md" - name: Run cargo fmt - run: cargo fmt --all -- --check + run: cargo fmt --all --check + - name: Run rustfmt on solutions + run: rustfmt --check --edition 2021 --color always solutions/**/*.rs test: runs-on: ${{ matrix.os }} strategy: @@ -33,7 +35,7 @@ jobs: - uses: actions/checkout@v4 - uses: swatinem/rust-cache@v2 - name: Run cargo test - run: cargo test + run: cargo test --workspace dev-check: runs-on: ubuntu-latest steps: |
