Rename the application Cargo package from irtt-cli to irtt-rs (crates/irtt-cli -> crates/irtt-app), and hard-rename its scriptable client binary from irtt-cli to irtt-client, now that the application also ships a first-class server and the old name reads as an umbrella CLI for both roles. Give each dedicated binary (irtt-client, irtt-tui, irtt-server) its own entry point instead of funneling through the multicall dispatcher's argv0/subcommand logic, so a dedicated binary only links the applet code for the role it implements and always runs that role regardless of the name it's invoked or copied under. irtt-rs remains the feature-selectable multicall dispatcher and is now the only binary that inspects argv0 or subcommands. Move future application releases to the irtt-rs/vX.Y.Z tag namespace (regenerated via `dist generate`), and bump the application package to 0.6.0 as a breaking distribution change. Library crate versions are unaffected.
80 lines
2.1 KiB
YAML
80 lines
2.1 KiB
YAML
name: Supply chain
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
merge_group:
|
|
schedule:
|
|
- cron: "41 2 * * 1"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
cargo-deny:
|
|
name: cargo-deny ${{ matrix.checks }}
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
# Advisories can appear after code was merged. Keep this visible,
|
|
# but don't let a surprise upstream advisory nuke every unrelated PR.
|
|
- checks: advisories
|
|
continue-on-error: true
|
|
|
|
# These are policy choices in this repo. They should block PRs.
|
|
- checks: bans licenses sources
|
|
continue-on-error: false
|
|
|
|
continue-on-error: ${{ matrix.continue-on-error }}
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run cargo-deny
|
|
uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2
|
|
with:
|
|
command: check
|
|
arguments: --all-features
|
|
command-arguments: ${{ matrix.checks }}
|
|
|
|
actionlint:
|
|
name: actionlint
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: actionlint handwritten workflows
|
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8
|
|
with:
|
|
files: >-
|
|
.github/workflows/actions-security.yml,
|
|
.github/workflows/ci.yml,
|
|
.github/workflows/interop-netem.yml,
|
|
.github/workflows/osv-scanner.yml,
|
|
.github/workflows/rust-clippy.yml,
|
|
.github/workflows/semver.yml,
|
|
.github/workflows/supply-chain.yml
|
|
|
|
- name: actionlint generated release workflow
|
|
uses: raven-actions/actionlint@205b530c5d9fa8f44ae9ed59f341a0db994aa6f8
|
|
with:
|
|
files: .github/workflows/irtt-rs-release.yml
|
|
shellcheck: false
|