mirror of
https://github.com/rust-unofficial/awesome-rust.git
synced 2025-01-19 05:49:19 +02:00
Add a workflow
This commit is contained in:
parent
5d15cf39a2
commit
b6b8308034
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
@ -9,8 +9,9 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
lint-md:
|
||||
runs-on: ubuntu-latest
|
||||
name: Lint Markdown content
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v2
|
||||
@ -19,3 +20,11 @@ jobs:
|
||||
with:
|
||||
config: ./.markdownlint.json
|
||||
args: ./README.md
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user