Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
4kimov committed Aug 31, 2023
1 parent ff31b6b commit 0db61e2
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 15 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
components: rustfmt, clippy
- name: Set up cargo cache
Expand All @@ -27,18 +27,16 @@ jobs:
restore-keys: ${{ runner.os }}-cargo-
- name: Lint
run: |
rustfmt +nightly **/*.rs
cargo clippy --all -- -D warnings -A clippy::redundant_async_block
rustfmt **/*.rs
cargo clippy --all
- name: Install cargo check tools
run: |
cargo install --locked cargo-deny || true
cargo install --locked cargo-outdated || true
cargo install --locked cargo-udeps || true
- name: Check
run: |
cargo deny check
cargo outdated --exit-code 1
cargo udeps
rm -rf ~/.cargo/advisory-db
- name: Test
run: cargo test --all
65 changes: 57 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ edition = "2021"
readme = "README.md"

[dependencies]
serde = "1.0.171"
serde_json = "1.0.102"
serde = "1.0.188"
serde_json = "1.0.105"
eyre = "0.6.8"

0 comments on commit 0db61e2

Please sign in to comment.