Add actual testing of the changes in a PR (#72)
Test / test (push) Waiting to run
Test / build (push) Failing after 11s
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:
@@ -0,0 +1,2 @@
|
|||||||
|
[licenses]
|
||||||
|
allow = ["Unicode-DFS-2016", "MIT", "Apache-2.0"]
|
||||||
@@ -15,3 +15,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Run check
|
- name: Run check
|
||||||
run: docker run -v ${PWD}/test:/test test-cargo-deny 1.70.0 "" --manifest-path test/Cargo.toml --all-features 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
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
[package]
|
||||||
|
name = "root"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
openssl = "0.10"
|
||||||
+1
-1
@@ -22,7 +22,7 @@ inputs:
|
|||||||
manifest-path:
|
manifest-path:
|
||||||
description: "Repo root relative path to the Cargo manifest to check"
|
description: "Repo root relative path to the Cargo manifest to check"
|
||||||
required: false
|
required: false
|
||||||
default: "Cargo.toml"
|
default: "./Cargo.toml"
|
||||||
log-level:
|
log-level:
|
||||||
description: "The log level for cargo-deny"
|
description: "The log level for cargo-deny"
|
||||||
required: false
|
required: false
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
fn main() {}
|
||||||
Reference in New Issue
Block a user