Skip to content

Commit

Permalink
Reorganize gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nieznanysprawiciel committed Nov 10, 2023
1 parent 6d9fe4b commit 9cf3636
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@ env:
CARGO_TERM_COLOR: always

jobs:
test:
name: CI
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: true
matrix:
os:
- ubuntu
- windows
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.71.0
components: clippy, rustfmt

- uses: Swatinem/rust-cache@v2

- run: cargo tree --locked
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features --workspace -- -D warnings
- run: cargo test --all-features --workspace
# test:
# name: CI
# runs-on: ${{ matrix.os }}-latest
# strategy:
# fail-fast: true
# matrix:
# os:
# - ubuntu
# - windows
#
# steps:
# - uses: actions/checkout@v4
#
# - uses: dtolnay/rust-toolchain@stable
# with:
# toolchain: 1.71.0
# components: clippy, rustfmt
#
# - uses: Swatinem/rust-cache@v2
#
# - run: cargo tree --locked
# - run: cargo fmt --all -- --check
# - run: cargo clippy --all-targets --all-features --workspace -- -D warnings
# - run: cargo test --all-features --workspace

release:
name: CI
Expand Down

0 comments on commit 9cf3636

Please sign in to comment.