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
|
||||
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:
|
||||
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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user