Skip to content

Commit 4324ad2

Browse files
committed
ci: third party licenses check (#26)
1 parent 12ce6e1 commit 4324ad2

File tree

7 files changed

+312
-335
lines changed

7 files changed

+312
-335
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
permissions:
2+
contents: read
3+
on:
4+
push:
5+
# See https://docs.github.com/en/actions/using-jobs/using-concurrency
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8+
cancel-in-progress: true
9+
name: ⚖️ Third party licenses
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: newrelic/[email protected]
17+
with:
18+
template-file: THIRD_PARTY_NOTICES.md.tmpl

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ authors = ["The New Relic Agent Control Team"]
77
publish = false
88
license-file = "./LICENSE.md"
99

10+
[lints.rust]
11+
missing_docs = "warn"
12+
1013
[dependencies]
1114
chrono = "0.4"
1215
thiserror = "2"
13-
ureq = { version = "2"} # TODO: since the http-client is injected this could be a dev-dependency
1416
serde = { version = "1", features = ["derive"] }
1517
serde_json = "1"
1618
jsonwebtoken = "9"
@@ -24,3 +26,4 @@ assert_matches = "1.5.0"
2426
httpmock = "0.7.0"
2527
mockall = "0.13.1"
2628
mockall_double = "0.3.1"
29+
ureq = "2"

0 commit comments

Comments
 (0)