Skip to content

0.1.1

0.1.1 #5

Workflow file for this run

name: Lint
on:
push:
branches:
- master
tags-ignore:
- '**'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8.10.5
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- name: Install
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt
- name: Install dependencies
run: pnpm install
- name: ESLint
run: pnpm lint
- name: Cargo fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy