Skip to content

Commit 2f95dc6

Browse files
authored
Merge pull request #1397 from OpenDataServices/2025-01-22
Github Actions: no cache, update versions, update python
2 parents 9181dc6 + 68cbfe3 commit 2f95dc6

File tree

5 files changed

+12
-25
lines changed

5 files changed

+12
-25
lines changed

.github/workflows/branch-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
1313
name: id_rsa # optional
1414
known_hosts: ${{ vars.DOKKU_SSH_KEYSCAN }}
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
1818
fetch-depth: 0
1919
- name: Setup python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.7
22+
python-version: 3.11
2323
architecture: x64
2424
- run: pip install dokkusd
2525
- uses: oNaiPs/secrets-to-env-action@v1

.github/workflows/branch-destroy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
name: id_rsa # optional
1515
known_hosts: ${{ vars.DOKKU_SSH_KEYSCAN }}
1616
- name: Setup python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
19-
python-version: 3.7
19+
python-version: 3.11
2020
architecture: x64
2121
- run: pip install dokkusd
2222
- run: python -m dokkusd.cli destroy --appname ${{ vars.DOKKU_APP_NAME_PREFIX }}-${{ github.event.ref }}

.github/workflows/lint.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,11 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
8+
- uses: actions/checkout@v4
99
- name: Setup python
10-
uses: actions/setup-python@v2
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: 3.11
1313
architecture: x64
14-
- uses: actions/cache@v1
15-
with:
16-
path: ~/.cache/pip
17-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }}
18-
restore-keys: |
19-
${{ runner.os }}-pip-
2014
- run: pip install -r requirements_dev.txt
2115
- run: flake8

.github/workflows/live-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}
1414
name: id_rsa # optional
1515
known_hosts: ${{ vars.DOKKU_SSH_KEYSCAN }}
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v4
1717
with:
1818
submodules: recursive
1919
fetch-depth: 0
2020
- name: Setup python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
23-
python-version: 3.7
23+
python-version: 3.11
2424
architecture: x64
2525
- run: pip install dokkusd
2626
- uses: oNaiPs/secrets-to-env-action@v1

.github/workflows/test.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ jobs:
88
matrix:
99
python-version: [ '3.11']
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
- name: Setup python
13-
uses: actions/setup-python@v2
13+
uses: actions/setup-python@v5
1414
with:
1515
python-version: ${{ matrix.python-version }}
1616
architecture: x64
17-
- uses: actions/cache@v1
18-
with:
19-
path: ~/.cache/pip
20-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements_dev.txt') }}-${{ matrix.python-version }}
21-
restore-keys: |
22-
${{ runner.os }}-pip-
23-
2417
- name: Install requirements_dev.txt
2518
run: pip install -r requirements_dev.txt
2619
- name: Install Ubuntu Translation Libraries

0 commit comments

Comments
 (0)