Skip to content

Commit

Permalink
Merge pull request #112 from tgonzalezorlandoarm/tg/ignore-advisory-a…
Browse files Browse the repository at this point in the history
…nsi_term

.cargo/audit: Ignore unmaintained ansi_term util spiffe is upgraded
  • Loading branch information
gowthamsk-arm authored Oct 5, 2023
2 parents dc11e43 + 7983c37 commit b545515
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -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")

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Continuous Integration

on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]

jobs:
build:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@ on:
# Every night at midnight
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
rev:
description: "Revision hash to run against"
required: false
default: ""

jobs:
dependencies:
name: Check for unused dependencies
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:
Expand All @@ -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:
Expand All @@ -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

0 comments on commit b545515

Please sign in to comment.