Skip to content

chore: Lints and linting workflow using Ruff #7

chore: Lints and linting workflow using Ruff

chore: Lints and linting workflow using Ruff #7

Workflow file for this run

name: RuffLint
# Runs the workflow on the below events:
# 1. on pull request raised to trunk branch.
# 2. on push event to trunk branch.
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
lint-markdown:
runs-on: ubuntu-latest
name: Lint MicroPython
steps:
- name: checkout repo content
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: List directory contents
run: |
ls
ls src
ls src/lib
- name: Install and run Ruff linter
uses: chartboost/ruff-action@e18ae971ccee1b2d7bbef113930f00c670b78da4 # v1.0.0
with:
src: './src/lib/'