Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci cargo about #21

Merged
merged 2 commits into from
Sep 28, 2024
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
6 changes: 4 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
on:
push:
branches:
- '**'
- "!master"

pull_request:
branches:
- '**'
- "!master"

jobs:
Expand All @@ -21,8 +23,8 @@ jobs:

- name: Run the license check
run: |
cargo install cargo-license
cargo license --gitlab --all-features | python3 license.py
cargo install --locked cargo-about
cargo about generate --format json --fail --all-features > /dev/null
- name: Run cargo test
run: cargo test --all-features
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:

- name: Run the license check
run: |
cargo install cargo-license
cargo license --gitlab --all-features | python3 license.py
cargo install --locked cargo-about
cargo about generate --format json --fail --all-features > /dev/null
- name: Run cargo test
run: cargo test --all-features
Expand Down
10 changes: 10 additions & 0 deletions about.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
accepted = [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"Unicode-DFS-2016"
]
ignore-transitive-dependencies = false
ignore-build-dependencies = false
ignore-dev-dependencies = false
no-clearly-defined = true
19 changes: 0 additions & 19 deletions license.py

This file was deleted.