Merge pull request #2 from fsbraun/dependabot/github_actions/codecov/… #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ruff Lint | |
on: [push, pull_request] | |
jobs: | |
ruff: | |
name: ruff | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install ruff | |
run: pip install --upgrade ruff | |
- name: Run ruff | |
run: | | |
ruff djangocms_rest | |
ruff tests |