feat: add quickjs_runtime backend ( xu-cheng/katex-rs#6 ) #89
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: clippy | |
on: [push, pull_request] | |
jobs: | |
clippy: | |
name: clippy | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
features: ["quick-js", "duktape"] | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
- name: Set up rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
- name: Run clippy | |
uses: actions-rs/clippy-check@v1 | |
with: | |
name: clippy-${{ matrix.features }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --no-default-features --features ${{ matrix.features }} --all-targets -- -D warnings | |
clippy-wasm: | |
name: "clippy (wasm-js)" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v3 | |
- name: Set up rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
components: clippy | |
target: wasm32-unknown-unknown | |
- name: Run clippy | |
uses: actions-rs/clippy-check@v1 | |
with: | |
name: clippy-wasm | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --target wasm32-unknown-unknown --no-default-features --features wasm-js --all-targets -- -D warnings | |