tree-sitter.tree-sitter/.github/workflows/ci.yml
Christian Clason 16d5e9d227
Some checks failed
CI / checks (push) Waiting to run
CI / build (push) Failing after 15s
CI / check-wasm-stdlib (push) Failing after 14s
CI / sanitize (push) Failing after 14s
Deploy Docs / deploy-docs (push) Has been cancelled
ci(checks): add lint-toml step using taplo
2026-08-29 11:10:37 +02:00

52 lines
1 KiB
YAML

name: CI
on:
push:
branches:
- 'master'
- 'release-[0-9]+.[0-9]+'
pull_request:
branches:
- 'master'
- 'release-[0-9]+.[0-9]+'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}
jobs:
checks:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v7.0.1
- name: Set up stable Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Lint Rust files
run: make lint
- name: Install Taplo
uses: taiki-e/install-action@v2
with:
tool: taplo@0.10.0
- name: Lint TOML files
run: make lint-toml
- name: Lint web files
run: make lint-web
sanitize:
uses: ./.github/workflows/sanitize.yml
build:
uses: ./.github/workflows/build.yml
check-wasm-stdlib:
uses: ./.github/workflows/wasm_stdlib.yml