diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-26 05:36:54 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-26 05:36:54 +0000 |
commit | 070a123b382a8cbc9903684d415e738cee7e5c67 (patch) | |
tree | 7fb4a23cd909d4d084921d37a8a98b9655f69c05 | |
parent | b18280d6f50db17f63838cc365ac2edb89894454 (diff) | |
parent | 258090d55867f8db60556f74ea47f04b1c63c4a3 (diff) | |
download | html-page-070a123b382a8cbc9903684d415e738cee7e5c67.tar.gz |
Merge branch 'checks' into 'main'
make it easier to QA in CI
See merge request larswirzenius/html-page!1
-rwxr-xr-x | check | 8 | ||||
-rw-r--r-- | deny.toml | 23 |
2 files changed, 31 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/bash + +set -euo pipefail + +cargo clippy -q -- --deny=clippy::all +cargo build -q --all-targets +cargo test -q +cargo deny check diff --git a/deny.toml b/deny.toml new file mode 100644 index 0000000..2c7cebb --- /dev/null +++ b/deny.toml @@ -0,0 +1,23 @@ +[advisories] +vulnerability = "deny" +unmaintained = "deny" +unsound = "deny" +yanked = "deny" +notice = "deny" +severity-threshold = "low" + +[licenses] +unlicensed = "deny" +allow = [ + "MIT", + "MIT-0", +] +copyleft = "deny" +allow-osi-fsf-free = "neither" +default = "deny" +confidence-threshold = 0.8 + +[bans] +multiple-versions = "deny" +wildcards = "deny" +highlight = "all" |