Skip to content

Commit

Permalink
ci: add linters
Browse files Browse the repository at this point in the history
  • Loading branch information
glimchb authored Apr 9, 2024
1 parent c390512 commit 73dbb10
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
recursive: true
ignore: DL3018,DL3008,DL3013

0 comments on commit 73dbb10

Please sign in to comment.