mirror of
https://github.com/vlang/awesome-v.git
synced 2023-08-10 21:13:23 +03:00
Add workflow to run awesome-lint
This commit is contained in:
parent
e0007ec6d1
commit
478a3e10af
17
.github/workflows/lint.yml
vendored
Normal file
17
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Lint
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Run awesome linter
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 12.13.1
|
||||||
|
- run: npm install -g awesome-lint
|
||||||
|
- run: awesome-lint README.md
|
Loading…
Reference in New Issue
Block a user