Skip to content

Commit 94e8e53

Browse files
committed
chore: update GitHub actions
* checkout: v4 -> v6 * setup-python: v4 -> v6 * cache: v4 -> v5 * changed the ruff-action to use astral's official one instead of the deprecated chartboost version
1 parent bda37ce commit 94e8e53

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/alembic.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
POSTGRES_HOST_AUTH_METHOD: trust
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
25+
with:
26+
fetch-depth: 1
2527

2628
- name: Wait for PostgreSQL to be ready
2729
run: |
@@ -32,7 +34,6 @@ jobs:
3234
3335
- name: Install dependencies
3436
run: |
35-
# for python3.11 (dear internet gods: we'll update to 3.13 or something in a year, i promise)
3637
sudo add-apt-repository ppa:deadsnakes/ppa
3738
sudo apt install python3.13 python3.13-venv
3839
python3.13 -m pip install --upgrade pip

.github/workflows/pytest_unit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ jobs:
77
timeout-minutes: 5
88

99
steps:
10-
- uses: actions/checkout@v4
10+
- uses: actions/checkout@v6
1111

12-
- uses: actions/setup-python@v4
12+
- uses: actions/setup-python@v6
1313
with:
1414
python-version: '3.13'
1515

16-
- uses: actions/cache@v4
16+
- uses: actions/cache@v5
1717
id: cache
1818
with:
1919
path: ~/.cache/pip

.github/workflows/ruff.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,5 @@ jobs:
44
ruff:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v4
8-
- uses: chartboost/ruff-action@v1
9-
with:
10-
version: 0.15.12
7+
- uses: actions/checkout@v6
8+
- uses: astral-sh/ruff-action@v3

0 commit comments

Comments
 (0)