Skip to content

Commit

Permalink
Switch to Lint Action
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Madrisan <[email protected]>
  • Loading branch information
madrisan committed Sep 13, 2023
1 parent 6e2cac6 commit 37c042a
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
name: black-action
name: lint
on: [push, pull_request]
jobs:
linter_name:
name: runner / black formatter
run-linters:
name: Run linters
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: datadog/[email protected]
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
with:
check_mode: "true"
print_diff_mode: "true"
python-version: 3.8

- name: Install Python dependencies
run: pip install black flake8

- name: Run linters
uses: wearerequired/lint-action@v2
with:
black: true
flake8: false

0 comments on commit 37c042a

Please sign in to comment.