mirror of
https://github.com/rust-embedded/awesome-embedded-rust.git
synced 2026-03-09 07:12:05 -05:00
* Add markdown linting rules * Add linting badge * Updated Markdown to meet linter criteria Closes #156
36 lines
924 B
YAML
36 lines
924 B
YAML
---
|
|
name: Linting
|
|
|
|
on: # yamllint disable-line rule:truthy
|
|
push: null
|
|
pull_request: null
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
Super_Linter:
|
|
name: Super Linter
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
# To report GitHub Actions status checks
|
|
statuses: write
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Super-linter
|
|
uses: super-linter/super-linter@v7.2.0 # x-release-please-version
|
|
env:
|
|
# Linters
|
|
VALIDATE_MARKDOWN: true
|
|
VALIDATE_YAML: true
|
|
LINTER_RULES_PATH: ./
|
|
MARKDOWN_CONFIG_FILE: .markdownlint.yml
|
|
ENABLE_GITHUB_ACTIONS_STEP_SUMMARY: true
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|