Refactor unsafe code in raw_jobs.rs for better memory safety #487
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
name: License check | |
on: [push, pull_request] | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
directory: | |
[./heimlig] # Only check main crate | |
checks: | |
- advisories | |
- bans licenses sources | |
# Prevent sudden announcement of a new advisory from failing ci: | |
continue-on-error: ${{ matrix.checks == 'advisories' }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
profile: minimal | |
target: x86_64-unknown-linux-musl | |
- name: License check | |
run: | | |
cargo install cargo-deny | |
cargo deny --manifest-path=${{ matrix.directory }}/Cargo.toml check |