mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-10 06:14:13 +00:00
Add a workflow
This commit is contained in:
parent
5d15cf39a2
commit
b6b8308034
1 changed files with 10 additions and 1 deletions
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…
Reference in a new issue