diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 933650e..057d18a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master + - uses: actions/checkout@v4 - name: Build Docker image run: docker build -t test-cargo-deny . @@ -14,4 +14,4 @@ jobs: run: docker run -v ${PWD}/test:/test test-cargo-deny "" "" --manifest-path test/Cargo.toml list - name: Run check - run: docker run -v ${PWD}/test:/test test-cargo-deny 1.60.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 diff --git a/action.yml b/action.yml index e861538..f06973e 100644 --- a/action.yml +++ b/action.yml @@ -19,6 +19,10 @@ inputs: description: "The arguments to pass to the command" required: false default: "" + manifest-path: + description: "Repo root relative path to the Cargo manifest to check" + required: false + default: "Cargo.toml" log-level: description: "The log level for cargo-deny" required: false @@ -40,6 +44,8 @@ runs: - ${{ inputs.credentials }} - --log-level - ${{ inputs.log-level }} + - --manifest-path + - ${{ inputs.manifest-path }} - ${{ inputs.arguments }} - ${{ inputs.command }} - ${{ inputs.command-arguments }}