Update amended regex to no longer use a matching group #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check shaping files | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- "assets/community/shaping.toml" | |
- "assets/policy-extras/shaping.toml" | |
- ".github/workflows/shaping.yml" | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- "assets/community/shaping.toml" | |
- "assets/policy-extras/shaping.toml" | |
- ".github/workflows/shaping.yml" | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-shaping: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Install Rust" | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: validate shaping | |
run: cargo run -p validate-shaping -- assets/community/shaping.toml assets/policy-extras/shaping.toml | |