Skip to content

Add workflow status badges to README #3

Add workflow status badges to README

Add workflow status badges to README #3

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: Install yamllint
run: sudo apt-get install -y yamllint
- name: Install ShellCheck
run: sudo apt-get install -y shellcheck
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Run all linters
run: ./scripts/linting/lint.sh all