Skip to content

fix: set SSH key permissions in GitHub Actions workflows #86

fix: set SSH key permissions in GitHub Actions workflows

fix: set SSH key permissions in GitHub Actions workflows #86

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
strategy:
matrix:
toolchain: [stable, nightly]
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: ${{ matrix.toolchain }}
components: clippy, rustfmt
- name: Run all linters
run: cargo run --bin linter all