refactor: errors per module [WPB-14354] #4122
Workflow file for this run
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: Check License, sources | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_NET_GIT_FETCH_WITH_CLI: true | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 # this implicitly caches Rust tools and build artifacts | |
with: | |
rustflags: '' | |
- uses: taiki-e/install-action@cargo-deny | |
- name: "Check Licenses / Supply Chain" | |
run: | | |
cargo deny --all-features check >> $GITHUB_STEP_SUMMARY | |
- name: "Build a dependency licenses inventory and post it to Summary" | |
run: | | |
cargo deny --all-features list --layout crate --format json | jq -r 'to_entries[] | "* \(.key)", " * \(.value.licenses[])"' >> $GITHUB_STEP_SUMMARY |