Add actual testing of the changes in a PR (#72)
Test / test (push) Waiting to run
Test / build (push) Failing after 11s

* Add actual testing of the changes in a PR

* Derp

* mmk

* ok...

* Add note
This commit is contained in:
Jake Shadle
2024-02-13 11:58:18 +01:00
committed by GitHub
parent 549bc5214b
commit 68cd9c5e3e
5 changed files with 20 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
[licenses]
allow = ["Unicode-DFS-2016", "MIT", "Apache-2.0"]
+10
View File
@@ -15,3 +15,13 @@ jobs:
- name: Run check
run: docker run -v ${PWD}/test:/test test-cargo-deny 1.70.0 "" --manifest-path test/Cargo.toml --all-features check
# Ensures the action in the PR still works
test:
runs-on: ubuntu-22.04
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@fix # change branch name to PR branch if you are changing it
# with:
# manifest-path: test/Cargo.toml
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "root"
version = "0.1.0"
[dependencies]
openssl = "0.10"
+1 -1
View File
@@ -22,7 +22,7 @@ inputs:
manifest-path:
description: "Repo root relative path to the Cargo manifest to check"
required: false
default: "Cargo.toml"
default: "./Cargo.toml"
log-level:
description: "The log level for cargo-deny"
required: false
+1
View File
@@ -0,0 +1 @@
fn main() {}