Skip to content

refactor: replace primitive String/&str with InstanceName type for LX… #73

refactor: replace primitive String/&str with InstanceName type for LX…

refactor: replace primitive String/&str with InstanceName type for LX… #73

Workflow file for this run

name: Linting
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
workflow_dispatch: # Allow manual triggering
jobs:
linting:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Update
run: sudo apt-get update
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: clippy, rustfmt
- name: Build Rust linter
run: cargo build --release --bin linter
- name: Run all linters
run: ./target/release/linter all