Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,20 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install Ruff
run: pip install ruff
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test-requirements.txt
- name: Lint code with Ruff
run: ruff check --output-format=github --target-version=py39 .
run: ruff check --output-format=github .
- name: Check code formatting with Ruff
run: ruff format --check .
continue-on-error: true

build:
needs: lint
runs-on: ubuntu-22.04
timeout-minutes: 40
timeout-minutes: 20
env:
PROXY: "http://51.83.140.52:16301"
TEST_TESTNET: "true"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.11.12
hooks:
- id: ruff
- id: ruff-format
Expand Down
Loading
Loading