Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b18deede8 | ||
|
|
1707cc0192 |
No files matched your search
@@ -71,3 +71,9 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
security-events: write
|
security-events: write
|
||||||
uses: ./.github/workflows/lint-docker.yml
|
uses: ./.github/workflows/lint-docker.yml
|
||||||
|
|
||||||
|
quality:
|
||||||
|
if: github.event_name == 'pull_request' || github.ref == 'refs/heads/main'
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
uses: infinito-nexus/quality/.github/workflows/quality.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f
|
||||||
@@ -8,19 +8,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-python:
|
lint-python:
|
||||||
runs-on: ubuntu-latest
|
uses: infinito-nexus/quality/.github/workflows/tool.yml@ed91a38fa19c2734d2cf07a0ade77bbb63f3096f
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v7
|
|
||||||
|
|
||||||
- name: Set up Python
|
|
||||||
uses: actions/setup-python@v7
|
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
tool: ruff
|
||||||
|
args: check src tests
|
||||||
- name: Install ruff
|
|
||||||
run: pip install ruff
|
|
||||||
|
|
||||||
- name: Run ruff
|
|
||||||
run: |
|
|
||||||
ruff check src tests
|
|
||||||
Reference in new issue
Block a user