-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Set msrv, reduce allocation pressure * Rework error enum * Change err collection to an option, better test coverage * Update ci check * Format * Bump crate version
- Loading branch information
1 parent
f882205
commit 5df69ff
Showing
6 changed files
with
194 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
name: check_commit | ||
name: "CI" | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
pull_request: {} | ||
|
||
jobs: | ||
build: | ||
check: | ||
# Want to run this on aarch64 but https://github.com/actions/runner-images/issues/5631 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build no features | ||
run: cargo build --no-default-features --verbose | ||
- name: Run tests no features | ||
run: cargo test --no-default-features | ||
- name: Build with error cause | ||
run: cargo test --features with_error_cause | ||
- name: Run tests with error cause | ||
run: cargo test --features with_error_cause | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
targets: x86_64-unknown-linux-gnu | ||
components: clippy,rustfmt | ||
- name: Check formatting | ||
run: cargo fmt --all --check | ||
- name: Check clippy | ||
run: cargo clippy | ||
- name: test | ||
run: cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.