Skip to content

feat (ci): Add Rust formatting command #2642

feat (ci): Add Rust formatting command

feat (ci): Add Rust formatting command #2642

Workflow file for this run

name: Checks
on:
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Lint
run: npm run lint -- --max-warnings 0
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
uses: ./.github/actions/prepare
- name: Lint
run: npm run check
may-merge:
needs: ['check', 'lint']
runs-on: ubuntu-latest
steps:
- name: Cleared for merging
run: echo OK