diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml new file mode 100644 index 0000000..475d9b5 --- /dev/null +++ b/.github/workflows/linters.yml @@ -0,0 +1,22 @@ +name: Linters +on: [push, pull_request] + +jobs: + ruff-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - run: pip install ruff + - run: ruff check . + + docker-lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: hadolint/hadolint-action@v3.1.0 + with: + recursive: true + ignore: DL3018,DL3008,DL3013