Skip to content

Commit

Permalink
update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
magiclen committed Sep 9, 2023
1 parent f8f25ee commit d675452
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 3 deletions.
23 changes: 22 additions & 1 deletion .github/workflows/ci-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,25 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --release ${{ matrix.features }}
- run: cargo doc --release ${{ matrix.features }}
- run: cargo doc --release ${{ matrix.features }}

MSRV:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- 1.56
features:
-
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --release --lib --bins ${{ matrix.features }}
24 changes: 22 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- macos-latest
- windows-latest
toolchain:
- 1.56
- stable
- nightly
features:
Expand All @@ -47,4 +46,25 @@ jobs:
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test ${{ matrix.features }}
- run: cargo doc ${{ matrix.features }}
- run: cargo doc ${{ matrix.features }}

MSRV:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- 1.56
features:
-
name: Test ${{ matrix.toolchain }} on ${{ matrix.os }} (${{ matrix.features }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --lib --bins ${{ matrix.features }}

0 comments on commit d675452

Please sign in to comment.