-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and workflows (#101)
- Loading branch information
Showing
4 changed files
with
127 additions
and
119 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Sanity | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 1 * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sanity: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v3 | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
with: | ||
cache-on-failure: true | ||
|
||
- name: rustup update | ||
run: rustup update | ||
|
||
- name: cargo check | ||
run: cargo check --all-features | ||
|
||
- name: cargo build | ||
run: cargo build --all-features | ||
|
||
- name: cargo test | ||
run: cargo test --all-features | ||
|
||
- name: cargo fmt | ||
run: cargo fmt --all --check | ||
|
||
- name: cargo clippy | ||
run: cargo clippy --tests --all-features -- -D warnings | ||
|
||
- name: install cargo-outdated | ||
run: cargo install cargo-outdated | ||
|
||
- name: cargo-outdated | ||
run: cargo outdated --exit-code 1 |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.