Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ env:
jobs:
pre-commit:
name: Pre-commit Checks
# Stays on ubuntu-latest: actions/setup-python + system pip install
# of pre-commit interacts with smithy's preinstalled Python 3.12 in
# ways we haven't validated yet (no `--user` flag, no venv). Keep
# here until we have a clean recipe.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -45,6 +49,9 @@ jobs:

test:
name: Test Suite
# Stays on ubuntu-latest: cross-OS matrix (ubuntu/macos/windows).
# Smithy is Linux-only; splitting per-OS would lose the per-PR
# signal that all three platforms still build.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -71,6 +78,9 @@ jobs:

build:
name: Build & Verify
# Stays on ubuntu-latest: cross-OS matrix (linux/macos-13/macos-14/
# windows). Smithy is Linux-only; the matrix exists precisely to
# validate the four release-target OSes.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -125,7 +135,7 @@ jobs:

clippy:
name: Clippy Lints
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64, rust-cpu]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -143,7 +153,7 @@ jobs:

format:
name: Formatting Check
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64, light]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -158,6 +168,9 @@ jobs:

security:
name: Security Audit
# Stays on ubuntu-latest: cargo-audit advisory parser on smithy
# (v0.21.2) rejects CVSS 4.0 advisories (RUSTSEC-2026-0037). Move
# back once smithy bumps cargo-audit to 0.22.1+.
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -177,7 +190,7 @@ jobs:

validation:
name: Template Validation
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, x64, light]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
Loading