mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-24 21:03:25 +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
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint-md:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: Lint Markdown content
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -19,3 +20,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
config: ./.markdownlint.json
|
config: ./.markdownlint.json
|
||||||
args: ./README.md
|
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