fix(linter): eslint/radix
rule correctly check for unbound symbols
#283
Workflow file for this run
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: autofix.ci # For security reasons, the workflow in which the autofix.ci action is used must be named "autofix.ci". | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.yml' | |
- '!.github/workflows/ci.yml' | |
- '!.github/actions/clone-submodules/action.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: ${{ github.ref_name != 'main' }} | |
jobs: | |
autofix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiki-e/checkout-action@v1 | |
- uses: Boshen/setup-rust@main | |
with: | |
restore-cache: false | |
tools: taplo-cli,cargo-shear@1 | |
components: rustfmt | |
- run: cargo shear --fix | |
- run: taplo fmt | |
- run: cargo fmt --all | |
- uses: autofix-ci/action@v1.3.1 | |
with: | |
fail-fast: false |