Skip to content

fix: resolve linter issue (#34) #24

fix: resolve linter issue (#34)

fix: resolve linter issue (#34) #24

Workflow file for this run

name: Build
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install -g markdownlint-cli
- run: markdownlint --config docs/.markdownlint.yaml --ignore docs/CODE_OF_CONDUCT.md README.md docs/
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
components: clippy
toolchain: stable
- run: cargo +stable clippy -- -D warnings
build_extension:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
# This should be changed to wasm32-wasip2 when available
# explanation: https://github.com/zed-industries/zed/blob/main/crates/extension/src/extension_builder.rs#L21-L26
targets: wasm32-wasip1
toolchain: stable
- run: cargo build --target wasm32-wasip1 --release