Skip to content

Commit

Permalink
Add more steps to CI and use cargo hack
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Jul 24, 2023
1 parent d4e570b commit 9258bac
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: taiki-e/install-action@cargo-hack
- name: build
run: cargo hack build --feature-powerset
- name: test
run: cargo hack test --feature-powerset
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Build with features
run: cargo build --all-features --verbose
- name: Build without features
run: cargo build --no-default-features --verbose
- name: Run tests
run: cargo test --all-features --verbose
- name: fmt
run: cargo fmt --check

0 comments on commit 9258bac

Please sign in to comment.