-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move from circleci to github actions
This patch moves from circleci to github actions.
- Loading branch information
Showing
3 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }}-latest | ||
strategy: | ||
matrix: | ||
os: [Ubuntu, macOS, Windows] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install clippy, rustfmt and cargo-deny | ||
run: | | ||
rustup component add clippy | ||
rustup component add rustfmt | ||
cargo install cargo-deny | ||
- name: Build | ||
run: cargo build --verbose --features strict | ||
- name: Run tests | ||
run: cargo test --verbose | ||
- name: Check lint | ||
run: cargo clippy | ||
- name: Check format | ||
run: cargo fmt -- --check | ||
- name: Run cargo deny | ||
run: cargo deny check |
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