1
0
Fork 0
mirror of https://github.com/rust-unofficial/awesome-rust.git synced 2025-02-10 15:45:57 -05:00
rust/.github/workflows/lint.yml

31 lines
710 B
YAML
Raw Normal View History

2021-08-06 00:10:01 +02:00
name: Lint
on:
push:
branches:
2022-06-11 10:17:08 +01:00
- main
2021-08-06 00:10:01 +02:00
pull_request:
branches:
2022-06-11 10:17:08 +01:00
- main
2021-08-06 00:10:01 +02:00
jobs:
2021-08-08 20:35:55 +02:00
lint-md:
2021-08-06 00:10:01 +02:00
runs-on: ubuntu-latest
2021-08-08 20:35:55 +02:00
name: Lint Markdown content
2021-08-06 00:10:01 +02:00
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Markdown lint for README
uses: docker://avtodev/markdown-lint:v1
with:
config: ./.markdownlint.json
args: ./README.md
2021-08-08 20:35:55 +02:00
lint-editorconfig:
runs-on: ubuntu-latest
name: Lint for editorconfig violations
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Check for editorconfig violations
uses: editorconfig-checker/action-editorconfig-checker@v1