Skip to content

Commit

Permalink
chore: Update CI to run against rust 1.61
Browse files Browse the repository at this point in the history
Newer versions of memchr requires this more recent version of rust, so to keep things simple we just keep pace here (the minimum rust version is just to guard against using too recent features of rust)
  • Loading branch information
Marwes committed Dec 12, 2023
1 parent 805862b commit 6ce4c23
Show file tree
Hide file tree
Showing 2 changed files with 558 additions and 286 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
rust: [1.51.0, stable, beta, nightly]
rust: [1.61.0, stable, beta, nightly]
env:
CARGO_INCREMENTAL: 0 # Incremental compilation is slower and bloats the cache
RUST_BACKTRACE: 1
Expand All @@ -29,17 +29,17 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true

- name: Build
https://github.com/Marwes/combine/pull/360- name: Build
run: cargo build

- name: Check 1.51
if: ${{ matrix.rust == '1.51.0' }}
- name: Check 1.61
if: ${{ matrix.rust == '1.61.0' }}
run: |
cargo "$@" check
cargo "$@" check --no-default-features
- name: Run tests
if: ${{ matrix.rust != '1.51.0' }}
if: ${{ matrix.rust != '1.61.0' }}
run: ./ci.sh

- name: Check docs
Expand Down
Loading

0 comments on commit 6ce4c23

Please sign in to comment.