Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): add security audit, rename files #484

Draft
wants to merge 14 commits into
base: unstable
Choose a base branch
from
45 changes: 45 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Security Audit

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

on:
pull_request:
paths:
- ".github/workflows/audit.yml"
- "**/Cargo.toml"
- "**/Cargo.lock"
push:
branches:
- main
- unstable
paths:
- ".github/workflows/audit.yml"
- "**/Cargo.toml"
- "**/Cargo.lock"
schedule:
# Run daily at midnight
- cron: '0 0 * * *'

permissions:
issues: write
checks: write
pull-requests: read
contents: read

jobs:
security-audit:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [bolt-sidecar, bolt-cli, bolt-boost]
name: Security Audit for ${{ matrix.project }}
steps:
- uses: actions/checkout@v4
- name: Run cargo audit
uses: rustsec/audit-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ${{ matrix.project }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Bolt Boost CI

on:
push:
branches:
- unstable
- main
paths:
- "bolt-boost/**"
pull_request:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Bolt-contracts CI
name: Bolt Contracts CI

on:
push:
paths:
- "bolt-contracts/**"
branches:
- unstable
- main
paths:
- "bolt-contracts/**"
pull_request:
paths:
- "bolt-contracts/**"
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions bolt-sidecar/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bolt-sidecar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ debug = true

[dependencies]
# core
clap = { version = "4.5.20", features = ["derive", "env"] }
clap = { version = "4.5.21", features = ["derive", "env"] }
tokio = { version = "1", features = ["full"] }
axum = { version = "0.7", features = ["macros"] }
tower-http = { version = "0.5.2", features = ["timeout"] }
Expand Down
Loading