Skip to content

Commit

Permalink
Merge branch 'master' into 0.7.X
Browse files Browse the repository at this point in the history
  • Loading branch information
Rubensei committed Dec 17, 2024
2 parents c9a6d75 + 823e992 commit db4e696
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
permissions:
contents: read

on:
push:
branches: [master]
pull_request:
branches: [master]
pull_request: {}
workflow_dispatch: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name || github.run_id }}
cancel-in-progress: true
name: check & test

name: check
jobs:
check:
runs-on: windows-latest
Expand All @@ -25,12 +27,20 @@ jobs:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
id: toolchain
with:
targets: x86_64-pc-windows-${{ matrix.compiler }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ steps.toolchain.outputs.cachekey }}-${{ matrix.compiler }}
- name: cargo check
run: cargo check --target x86_64-pc-windows-${{ matrix.compiler }} --features ${{ matrix.feature }}
- name: cargo test
run: cargo test --target x86_64-pc-windows-${{ matrix.compiler }} --features ${{ matrix.feature }}
- name: Semver checks
uses: obi1kenobi/cargo-semver-checks-action@v2
with:
shared-key: ${{ steps.toolchain.outputs.cachekey }}-${{ matrix.compiler }}
doc:
runs-on: windows-latest
name: docs / stable
Expand All @@ -40,6 +50,10 @@ jobs:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
id: toolchain
- uses: Swatinem/rust-cache@v2
with:
key: ${{ steps.toolchain.outputs.cachekey }}
- name: cargo doc
run: cargo doc --no-deps --all-features
env:
Expand All @@ -58,7 +72,11 @@ jobs:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@master
id: toolchain
with:
toolchain: ${{ matrix.msrv }}
- uses: Swatinem/rust-cache@v2
with:
key: ${{ steps.toolchain.outputs.cachekey }}
- name: cargo +${{ matrix.msrv }} check
run: cargo check --all-features

0 comments on commit db4e696

Please sign in to comment.