Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,26 @@ jobs:
packages=$(cargo metadata --no-deps --format-version 1 --locked | jq -r '.packages[] | select(.publish != []) | "--package=\(.name)"')
cargo check $packages --all-targets --locked

license:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v7
with:
# Copyright lines come from the full history of the commits under review, not of GitHub's merge commit.
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 0
- uses: actions-rust-lang/setup-rust-toolchain@v2
with:
cache-shared-key: license-bake-launcher-v1
- name: Install Bake launcher
run: cargo install bake --locked
- name: Check license files and Rust source headers
run: cargo bake --locked license:check

test-result:
if: always()
needs: [test, minimum-rust]
needs: [test, minimum-rust, license]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ publish = false

[dependencies]
bake = ">=0.20, <1"
base-project = ">=0.1.7"
base-project = ">=0.1.8"

Loading