Skip to content

Commit

Permalink
Correct CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lyne committed May 25, 2023
1 parent 74d05ca commit ddb783d
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
args: --manifest-path omniqueue/Cargo.toml --all -- --check

- name: Start test dependencies
run: docker-coompose -f "./testing-docker-coompose.yml" up -d
run: docker-compose -f "./testing-docker-compose.yml" up -d

- name: Run tests
uses: actions-rs/cargo@v1
Expand All @@ -55,4 +55,4 @@ jobs:
args: --manifest-path omniqueue/Cargo.toml --all --all-features

- name: Stop test dependencies
run: docker-coompose -f "./testing-docker-coompose.yml" down
run: docker-compose -f "./testing-docker-compose.yml" down
72 changes: 72 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
targets = [
{ triple = "x86_64-pc-windows-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
]

[advisories]
db-path = "~/.cargo/advisory-db"
db-urls = ["https://github.com/rustsec/advisory-db"]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
notice = "warn"
ignore = []

[licenses]
unlicensed = "deny"
allow = [
"Apache-2.0",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"MIT",
"MPL-2.0",
"OpenSSL",
"Unicode-DFS-2016",
]
deny = []
copyleft = "deny"
allow-osi-fsf-free = "neither"
default = "deny"
confidence-threshold = 0.8
exceptions = [
#{ allow = ["Zlib"], name = "adler32", version = "*" },
]

[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [
{ path = "LICENSE", hash = 0xbd0eed23 }
]

[[licenses.clarify]]
name = "encoding_rs"
version = "0.8.30"
expression = "MIT OR Apache-2.0"
license-files = [
{ path = "COPYRIGHT", hash = 0x39f8ad31 }
]

[licenses.private]
ignore = false
registries = []

[bans]
multiple-versions = "warn"
wildcards = "allow"
highlight = "all"
allow = []
deny = []
skip = []
skip-tree = []

[sources]
unknown-registry = "warn"
unknown-git = "warn"
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
allow-git = []

0 comments on commit ddb783d

Please sign in to comment.