Skip to content

chore: bump up oxlint version to ^0.14.0 #537

chore: bump up oxlint version to ^0.14.0

chore: bump up oxlint version to ^0.14.0 #537

Workflow file for this run

name: Lint
on:
push:
branches:
- main
tags-ignore:
- '**'
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: lint-cargo-cache
- name: 'Install dependencies'
run: yarn install --mode=skip-build
- name: ESLint
run: yarn lint
- name: Cargo fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy
- name: Cargo test
run: cargo test