Skip to content

chore: Release

chore: Release #173

Workflow file for this run

name: Rust Sitter CI
on:
push:
branches: [ "main" ]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
test-wasm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install wasm32 target
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Install WebAssembly test runner
uses: actions-rs/cargo@v1
with:
command: install
args: wasm-bindgen-cli --version 0.2.83
- name: Run tests
uses: actions-rs/cargo@v1
env:
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: wasm-bindgen-test-runner
with:
command: test
args: -p rust-sitter-example --target wasm32-unknown-unknown --tests --no-fail-fast
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check rustfmt
run: cargo fmt --all -- --check
- name: Check clippy
run: cargo clippy --all-targets -- -D warnings