Skip to content

build(deps): Bump tj-actions/changed-files from 44 to 46 in /.github/workflows #2

build(deps): Bump tj-actions/changed-files from 44 to 46 in /.github/workflows

build(deps): Bump tj-actions/changed-files from 44 to 46 in /.github/workflows #2

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test
- run: cargo clippy -- -D warnings
- run: cargo fmt --check
readme-lint:
name: readme-lint
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: . -> target
cache-key: readme-lint
- name: build readme-lint
run: |
git clone https://github.com/BryanChasko/heraldstack-mcp.git /tmp/heraldstack-mcp
cargo build --release --manifest-path /tmp/heraldstack-mcp/tools/readme-lint/Cargo.toml
- uses: tj-actions/changed-files@v46
id: changed
with:
files: '**/*.md'
- if: steps.changed.outputs.any_changed == 'true'
run: /tmp/heraldstack-mcp/tools/readme-lint/target/release/readme-lint ${{ steps.changed.outputs.all_changed_files }}