mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-27 19:38:22 +01:00
28 lines
585 B
YAML
28 lines
585 B
YAML
name: 'Linter'
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: master
|
|
|
|
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
|