factorio-docker/.github/workflows/lint.yml

29 lines
593 B
YAML
Raw Normal View History

2021-01-26 19:43:14 +01:00
name: 'Linter'
on:
pull_request:
push:
2021-09-09 15:11:22 +02:00
branches:
- master
2021-01-26 19:43:14 +01:00
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: shellcheck
uses: reviewdog/action-shellcheck@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
hadolint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: hadolint
uses: reviewdog/action-hadolint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review