Skip to content

Commit

Permalink
Add builds for 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwalker committed Jul 31, 2024
1 parent cfd1978 commit 5ab1a97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
push:
branches:
- main
- "0.7"
merge_group:
pull_request:
branches:
- main
- "0.7"
workflow_dispatch:
inputs:
crate:
Expand All @@ -21,7 +23,7 @@ on:
env:
RUST_LOG: debug
CARGO_TERM_COLOR: always
MSRV: 1.75.0
MSRV: ${{ github.ref == 'refs/heads/0.7' && '1.63.0' || '1.75.0' }}

jobs:
check:
Expand Down Expand Up @@ -113,7 +115,7 @@ jobs:
uses: taiki-e/install-action@nextest
- name: Prepare MSRV lockfile
run: cp ci/Cargo.lock.msrv Cargo.lock
if: matrix.rust == '1.75.0'
if: matrix.rust == '${{ env.MSRV }}'
- name: Run unit tests
run: cargo +${{ matrix.rust }} nextest run --lib ${{ matrix.flags }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

env:
RUSTUP_TOOLCHAIN: stable
MSRV: 1.75.0
MSRV: ${{ github.ref == 'refs/heads/0.7' && '1.63.0' || '1.75.0' }}

jobs:
make-release-pr:
Expand Down

0 comments on commit 5ab1a97

Please sign in to comment.