Skip to content

Commit

Permalink
more ci experimentation
Browse files Browse the repository at this point in the history
  • Loading branch information
organizedgrime committed Jun 5, 2024
1 parent 06858dd commit 56a57ec
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 8 deletions.
8 changes: 6 additions & 2 deletions .github/settings.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Reference: https://github.com/apps/settings
repository:
name: tomb
name: banyan-cli

default_branch: main
private: false

description: Banyan's client, WNFS+CAR encrypted filesystem packer and metadata handler.
description: Command line interface for interacting with the Banyan Filesystem and Platform
homepage: https://banyan.computer/
topics: cli, platform

Expand Down Expand Up @@ -34,6 +34,10 @@ branches:
required_status_checks:
strict: true
contexts:
- "rust / audit"
- "rust / build"
- "rust / format"
- "rust / test"
- "cargo-deny (advisories)"
- "cargo-deny (bans licenses sources)"

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/advisories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ on:
- cron: '0 14 * * 1'
jobs:
cargo-audit:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: rustsec/audit-check@v1.4.1
with:
token: ${{ secrets.GITHUB_TOKEN }}

cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check advisories
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
name: 🛡 Dependency Security & License Audit
on:
- pull_request

jobs:
cargo-deny:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
name: rust

on:
- pull_request
workflow_call:
inputs:
cache_version:
type: string
default: v1
cargo_audit_version:
type: string
default: 0.20.0
cargo_audit_ignores:
type: string
default: ''
description: Comma-delimited list of RUSTSEC CVE identifiers to ignore during audit.

env:
RUSTC_WRAPPER: sccache
Expand Down

0 comments on commit 56a57ec

Please sign in to comment.