Skip to content

Commit 9cbee44

Browse files
committed
Run bottlerocket-license-scan
1 parent 18b8752 commit 9cbee44

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,30 @@ jobs:
9292
- name: cargo-deny (judge)
9393
run: cargo deny check
9494

95+
bottlerocket-license-scan:
96+
runs-on: ubuntu-22.04
97+
steps:
98+
- uses: actions/checkout@v3
99+
100+
- name: Read ./rust-toolchain
101+
id: read-rust-toolchain
102+
run: echo "toolchain=$(cat ./rust-toolchain)" >> "$GITHUB_OUTPUT"
103+
shell: bash
104+
105+
- name: Set up Rust
106+
uses: dtolnay/rust-toolchain@master
107+
with:
108+
toolchain: ${{ steps.read-rust-toolchain.outputs.toolchain }}
109+
110+
- name: Install bottlerocket-license-scan
111+
run: cargo install bottlerocket-license-scan --git https://github.com/bottlerocket-os/bottlerocket-sdk
112+
113+
- name: bottlerocket-license-scan (judge)
114+
run: |
115+
git clone https://github.com/spdx/license-list-data.git /tmp/license-list-data --depth 1
116+
~/.cargo/bin/bottlerocket-license-scan --clarify ./clarify.toml --out-dir ./license_files --spdx-data /tmp/license-list-data/json/details cargo ./Cargo.toml
117+
tree ./license_files
118+
95119
build:
96120
runs-on: ubuntu-22.04
97121
steps:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy