Skip to content

Commit

Permalink
Fixed CI?
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Feb 7, 2022
1 parent 940d531 commit f8d2a77
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions .github/workflows/rust.yml
Expand Up @@ -10,17 +10,29 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:

check:
name: Check Chumsky
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Run cargo check
run: cargo check --verbose --no-default-features
test:
name: Test Chumsky
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run tests without default features
run: cargo test --verbose --no-default-features
- name: Run tests with all features
run: cargo +nightly test --verbose --all-features
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo check
run: cargo test --verbose --all-features

0 comments on commit f8d2a77

Please sign in to comment.