Bump topiary from 2d171e1
to 48659c7
#39
Workflow file for this run
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 | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
env: | |
CARGO_INCREMENTAL: 0 | |
RUSTFLAGS: -D warnings | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: pre-commit-cargo-${{ hashFiles('Cargo.lock') }} | |
- name: Install tree-sitter-cli | |
run: | | |
npm install -g tree-sitter-cli | |
- name: Test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
pre-commit: | |
name: Run pre-commit hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
components: rustfmt, clippy | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
key: pre-commit-cargo-${{ hashFiles('Cargo.lock') }} | |
- name: Install tree-sitter-cli | |
run: | | |
npm install -g tree-sitter-cli | |
- uses: actions/setup-python@v4 | |
- uses: pre-commit/[email protected] |