Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.10'
python-version: '3.x'

- name: Install build dependencies
run: |
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Lint

on: [push, pull_request, workflow_dispatch]

permissions: {}

env:
FORCE_COLOR: 1

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: j178/prek-action@v3.1.1
15 changes: 8 additions & 7 deletions .github/workflows/run-tests.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
---
name: Run tests
name: Test

on: [push, pull_request, workflow_dispatch]

permissions: {}

env:
FORCE_COLOR: 1
PIP_DISABLE_PIP_VERSION_CHECK: 1

jobs:
tests:
runs-on: ubuntu-latest
Expand All @@ -14,7 +19,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.11'
python-version: '3.x'

- name: Install build dependencies
run: |
Expand All @@ -23,7 +28,3 @@ jobs:
- name: Fetch latest packages data and build the website
run: |
make generate

- name: Check files against the pre-commit config
run: |
pre-commit run --all-files --show-diff-on-failure
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pre-commit==4.7.0
pytz==2026.6
requests==2.34.2
requests-cache==1.3.3