Skip to content

ci(boundaries): add CI-enforced boundary check script + GitHub Action… #1

ci(boundaries): add CI-enforced boundary check script + GitHub Action…

ci(boundaries): add CI-enforced boundary check script + GitHub Action… #1

Workflow file for this run

name: Boundaries CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
boundaries:
name: SAFA Boundary Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install ripgrep
run: sudo apt-get update && sudo apt-get install -y ripgrep
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Run boundary checks
run: bash scripts/ci-boundaries-check.sh