Skip to content

Commit

Permalink
Relax rust version restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy-gilligan committed Jul 5, 2023
1 parent 64afa09 commit f5c8359
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ on:
name: CI

jobs:

build:
name: Build and Test
runs-on: ubuntu-latest
env: {"RUSTFLAGS": "-D warnings"}
strategy:
matrix:
toolchain:
- "1.61"
- "nightly-2023-04-10"
- "1.60"
- "nightly"
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand All @@ -38,14 +37,14 @@ jobs:
- name: Build
run: cargo build
- name: Build (all features)
if: ${{ matrix.toolchain == 'nightly-2023-04-10' }}
if: ${{ matrix.toolchain == 'nightly' }}
run: cargo build --all-features

# Test main crate
- name: Test
run: cargo test
- name: Test (all features)
if: ${{ matrix.toolchain == 'nightly-2023-04-10' }}
if: ${{ matrix.toolchain == 'nightly' }}
run: cargo test --all-features

# Check code formatting
Expand Down

0 comments on commit f5c8359

Please sign in to comment.