Skip to content

Commit b545515

Browse files
Merge pull request #112 from tgonzalezorlandoarm/tg/ignore-advisory-ansi_term
.cargo/audit: Ignore unmaintained ansi_term util spiffe is upgraded
2 parents dc11e43 + 7983c37 commit b545515

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.cargo/audit.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[advisories]
2-
ignore = []
2+
ignore = ["RUSTSEC-2021-0139"] # Remove when spiffe is upgraded
33
informational_warnings = ["unmaintained"] # warn for categories of informational advisories
44
severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical")
55

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Continuous Integration
22

3-
on: [push, pull_request]
3+
on: [push, pull_request, workflow_dispatch]
44

55
jobs:
66
build:

.github/workflows/nightly.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,20 @@ on:
55
# Every night at midnight
66
- cron: "0 0 * * *"
77
workflow_dispatch:
8+
inputs:
9+
rev:
10+
description: "Revision hash to run against"
11+
required: false
12+
default: ""
813

914
jobs:
1015
dependencies:
1116
name: Check for unused dependencies
1217
runs-on: ubuntu-latest
1318
steps:
1419
- uses: actions/checkout@v2
20+
with:
21+
ref: "${{ github.event.inputs.rev }}"
1522
- name: Install latest Rust
1623
uses: actions-rs/toolchain@v1
1724
with:
@@ -26,6 +33,8 @@ jobs:
2633
runs-on: ubuntu-latest
2734
steps:
2835
- uses: actions/checkout@v2
36+
with:
37+
ref: "${{ github.event.inputs.rev }}"
2938
- name: Install latest Rust
3039
uses: actions-rs/toolchain@v1
3140
with:
@@ -40,5 +49,7 @@ jobs:
4049
runs-on: ubuntu-latest
4150
steps:
4251
- uses: actions/checkout@v1
52+
with:
53+
ref: "${{ github.event.inputs.rev }}"
4354
- name: Execute tarpaulin
4455
run: ./tests/coverage.sh

0 commit comments

Comments
 (0)