Bump tree-sitter-javascript from 0.20.1 to 0.20.3 #224
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
env: | |
# The NAME makes it easier to copy/paste snippets from other CI configs | |
NAME: tree-splicer | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Format | |
run: cargo fmt && git diff --exit-code | |
- name: Deps | |
run: | | |
rustup update | |
rustup component add clippy | |
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 | |
- name: Lint | |
run: cargo clippy -- --deny warnings | |
static: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Deps | |
run: | | |
sudo apt-get install -y musl-tools | |
rustup target add x86_64-unknown-linux-musl | |
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 | |
- run: | | |
cargo build \ | |
--bin ${NAME}-javascript \ | |
--bin ${NAME}-rust \ | |
--bin ${NAME}-typescript \ | |
--locked \ | |
--release \ | |
--target=x86_64-unknown-linux-musl | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 | |
- run: cargo test --locked --no-run | |
- run: cargo test |