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:
|
2024-10-22 06:46:18 +02:00
|
|
|
- name: Checkout
|
2024-10-22 06:48:03 +02:00
|
|
|
uses: actions/checkout@v4
|
2024-10-22 06:46:18 +02:00
|
|
|
|
2021-01-26 19:43:14 +01:00
|
|
|
- name: shellcheck
|
|
|
|
uses: reviewdog/action-shellcheck@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.github_token }}
|
|
|
|
reporter: github-pr-review
|
|
|
|
|
|
|
|
hadolint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-10-22 06:46:18 +02:00
|
|
|
- name: Checkout
|
2024-10-22 06:48:03 +02:00
|
|
|
uses: actions/checkout@v4
|
2024-10-22 06:46:18 +02:00
|
|
|
|
2021-01-26 19:43:14 +01:00
|
|
|
- name: hadolint
|
|
|
|
uses: reviewdog/action-hadolint@v1
|
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.github_token }}
|
|
|
|
reporter: github-pr-review
|