goreleaser-action/.github/workflows/lint.yml
CrazyMax c35b61573f
Update workflows (#21)
* Failed if uncommited changes
* Fix virtual env
* Fix lint workflow
* Display changes
2019-10-23 11:58:41 +02:00

26 lines
521 B
YAML

name: lint
on:
pull_request:
paths:
- '.github/workflows/lint.yml'
- 'src/*'
jobs:
lint:
runs-on: ubuntu-latest
steps:
-
# https://github.com/actions/checkout
name: Checkout
uses: actions/checkout@v1
-
# https://github.com/actions/setup-node
name: Set up Node
uses: actions/setup-node@v1
-
name: Setup TS
run: npm install tslint typescript -g
-
name: Lint check
run: tslint './src/*.ts'