Skip to content

Commit

Permalink
Merge pull request #126 from jonhoo/ci-updates
Browse files Browse the repository at this point in the history
Make CI happy again
  • Loading branch information
jonhoo authored Aug 18, 2024
2 parents 40962fc + 2ebf763 commit 1d6dc0d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,19 @@ jobs:
with:
reporter: 'github-pr-check'
github_token: ${{ secrets.GITHUB_TOKEN }}
semver:
runs-on: ubuntu-latest
name: semver
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install stable
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: cargo-semver-checks
uses: obi1kenobi/cargo-semver-checks-action@v2
doc:
# run docs generation on nightly rather than stable. This enables features like
# https://doc.rust-lang.org/beta/unstable-book/language-features/doc-cfg.html which allows an
Expand All @@ -71,10 +84,10 @@ jobs:
submodules: true
- name: Install nightly
uses: dtolnay/rust-toolchain@nightly
- name: cargo doc
run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: --cfg docsrs
- name: Install cargo-docs-rs
uses: dtolnay/install@cargo-docs-rs
- name: cargo docs-rs
run: cargo docs-rs
deny:
runs-on: ubuntu-latest
name: cargo-deny
Expand Down
17 changes: 9 additions & 8 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[advisories]
vulnerability = "deny"
unmaintained = "warn"
notice = "warn"
version = 2
ignore = []

[licenses]
unlicensed = "deny"
allow = []
deny = []
copyleft = "warn"
allow-osi-fsf-free = "either"
version = 2
allow = [
"MIT",
"BSD-2-Clause",
"CC0-1.0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
]
confidence-threshold = 0.8

[bans]
Expand Down

0 comments on commit 1d6dc0d

Please sign in to comment.