Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

chore(deps): update npm packages #55

chore(deps): update npm packages

chore(deps): update npm packages #55

Workflow file for this run

name: CI (Rust)
on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- '**/*.yml'
- '**/*.ts'
- '**/*.js'
- '**/*.d.ts'
- '**/package.json'
- '**/tsconfig.json'
- '**/.prettierrc.json'
- 'yarn.lock'
- '!.github/workflows/ci-rs.yml'
pull_request:
branches: [main]
types: [opened, synchronize]
paths-ignore:
- '**/*.md'
- '**/*.yml'
- '**/*.ts'
- '**/*.js'
- '**/*.d.ts'
- '**/package.json'
- '**/tsconfig.json'
- '**/.prettierrc.json'
- 'yarn.lock'
- '!.github/workflows/ci-rs.yml'
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
with:
# warm cache factory for all other CI jobs
# cache `target` directory to avoid download crates
save-cache: ${{ github.ref_name == 'main' }}
cache-key: warm
- run: cargo check
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
with:
components: rustfmt
tools: taplo-cli
restore-cache: false
- run: cargo fmt --all -- --check
- run: taplo lint
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@v1
- uses: Boshen/setup-rust@main
with:
components: clippy
restore-cache: false
- run: cargo clippy --no-deps -- -D warnings