pathfinding 4.14.0, rand 0.9.0, getrandom 0.3.0 #64
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: Licenses | |
on: | |
push: | |
jobs: | |
cargo-deny: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Read ./rust-toolchain | |
id: read-rust-toolchain | |
run: echo "toolchain=$(cat ./rust-toolchain)" >> "$GITHUB_OUTPUT" | |
shell: bash | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ steps.read-rust-toolchain.outputs.toolchain }} | |
- name: Install cargo-binstall | |
uses: taiki-e/install-action@cargo-binstall | |
- name: Install cargo-deny | |
run: cargo binstall cargo-deny@^0.16 --no-confirm --log-level debug | |
- name: cargo-deny (main) | |
run: cargo deny check | |
# https://github.com/EmbarkStudios/cargo-deny/pull/626 # Pixar ライセンスを無視するworkaround | |
# https://github.com/jpeddicord/askalono/issues/94 | |
bottlerocket-license-scan: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Read ./rust-toolchain | |
id: read-rust-toolchain | |
run: echo "toolchain=$(cat ./rust-toolchain)" >> "$GITHUB_OUTPUT" | |
shell: bash | |
- name: Set up Rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ steps.read-rust-toolchain.outputs.toolchain }} | |
- name: Install bottlerocket-license-scan | |
run: cargo install bottlerocket-license-scan --git https://github.com/bottlerocket-os/bottlerocket-sdk | |
- name: bottlerocket-license-scan (main) | |
run: | | |
git clone https://github.com/spdx/license-list-data.git /tmp/license-list-data --depth 1 | |
~/.cargo/bin/bottlerocket-license-scan --clarify ./clarify.toml --out-dir ./license_files --spdx-data /tmp/license-list-data/json/details cargo ./Cargo.toml | |
tree ./license_files |