Skip to content

Commit

Permalink
ci: use cargo-deny instead of cargo-audit and enforce license checks (#…
Browse files Browse the repository at this point in the history
…132)

* Bump telemetry-batteries and add cargo-deny

* Add logging to test

* added color_eyre

---------

Co-authored-by: Ertugrul Aypek <ertugrul.aypek@toolsforhumanity.com>
Co-authored-by: Dzejkop <jakubtrad@gmail.com>
  • Loading branch information
3 people authored Oct 11, 2024
1 parent e094771 commit c0c436a
Show file tree
Hide file tree
Showing 10 changed files with 625 additions and 121 deletions.
7 changes: 0 additions & 7 deletions .cargo/audit.toml

This file was deleted.

19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RUST_LOG: info
RUST_BACKTRACE: "1"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand Down Expand Up @@ -49,15 +52,9 @@ jobs:
components: rustfmt
- run: cargo fmt --all --check

audit:
runs-on: ubuntu-latest
timeout-minutes: 10
cargo-deny:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: cargo
- name: install cargo audit
run: cargo install cargo-audit
- name: audit
run: cargo audit
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # pin@v4.2.1
- uses: EmbarkStudios/cargo-deny-action@8371184bd11e21dcf8ac82ebf8c9c9f74ebf7268 # pin@v2.0.1
Loading

0 comments on commit c0c436a

Please sign in to comment.