Merge pull request #723 from napi-rs/renovate/jsonwebtoken-9.x #1304
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
pull_request: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly-2023-07-19 | |
components: rustfmt, clippy | |
- name: 'Install dependencies' | |
run: yarn install --mode=skip-build | |
- name: ESLint | |
run: yarn lint | |
- name: TypeCheck | |
run: yarn typecheck | |
- name: Cargo fmt | |
run: cargo fmt -- --check | |
- name: Clippy | |
run: cargo clippy |