Skip to content

Eliminate RwLock::unwrap() call #187

Eliminate RwLock::unwrap() call

Eliminate RwLock::unwrap() call #187

Workflow file for this run

name: Lint
env:
CARGO_NET_GIT_FETCH_WITH_CLI: 'true'
'on':
push:
branches:
- main
tags-ignore:
- '**'
paths-ignore:
- '**/*.md'
- LICENSE
- '**/*.gitignore'
- .editorconfig
- docs/**
pull_request: null
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-lint
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: |
${{ secrets.HTTP_HANDLER_ACCESS_TOKEN }}
${{ secrets.HTTP_REWRITER_ACCESS_TOKEN }}
- name: setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22
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