From 689a88c3e1b98f64fa0103d9b0a847d1fc77380b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gonz=C3=A1lez?= Date: Thu, 5 Oct 2023 14:36:47 +0100 Subject: [PATCH 1/2] .cargo/audit: Ignore unmaintained ansi_term util spiffe is upgraded MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás González --- .cargo/audit.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cargo/audit.toml b/.cargo/audit.toml index 45c2009..b65a21e 100644 --- a/.cargo/audit.toml +++ b/.cargo/audit.toml @@ -1,5 +1,5 @@ [advisories] -ignore = [] +ignore = ["RUSTSEC-2021-0139"] # Remove when spiffe is upgraded informational_warnings = ["unmaintained"] # warn for categories of informational advisories severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical") From 7983c376448b7c49fd5f1ecef0fa78d02aa9d86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Gonz=C3=A1lez?= Date: Thu, 5 Oct 2023 15:17:11 +0100 Subject: [PATCH 2/2] Add workflow dispatch to the pipelines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tomás González --- .github/workflows/ci.yml | 2 +- .github/workflows/nightly.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b64736..efd5a07 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: Continuous Integration -on: [push, pull_request] +on: [push, pull_request, workflow_dispatch] jobs: build: diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index a86de7e..bca49d7 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -5,6 +5,11 @@ on: # Every night at midnight - cron: "0 0 * * *" workflow_dispatch: + inputs: + rev: + description: "Revision hash to run against" + required: false + default: "" jobs: dependencies: @@ -12,6 +17,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: "${{ github.event.inputs.rev }}" - name: Install latest Rust uses: actions-rs/toolchain@v1 with: @@ -26,6 +33,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + ref: "${{ github.event.inputs.rev }}" - name: Install latest Rust uses: actions-rs/toolchain@v1 with: @@ -40,5 +49,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 + with: + ref: "${{ github.event.inputs.rev }}" - name: Execute tarpaulin run: ./tests/coverage.sh