Skip to content

Commit 39ccab2

Browse files
committed
Bump GitHub actions versions to latest
Fix CI python version as 3.8 is no longer available in GH actions
1 parent f594539 commit 39ccab2

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout repo
9-
uses: actions/checkout@v2
9+
uses: actions/checkout@v4
10+
1011
- name: Setup Python
11-
uses: actions/setup-python@v1
12-
with:
13-
python-version: 3.8
12+
uses: actions/setup-python@v5
13+
1414
- name: Install pipenv
1515
run: pip install pipenv
16+
1617
- name: Check code formatting
1718
run: |
1819
pipenv install pre_commit
@@ -26,27 +27,29 @@ jobs:
2627
QGIS_TEST_VERSION: ${{ matrix.qgis_version }}
2728
steps:
2829
- name: Checkout
29-
uses: actions/checkout@v2
30+
uses: actions/checkout@v4
3031
with:
3132
submodules: recursive
33+
3234
- name: Run tests
3335
run: |
3436
docker compose -f .docker/docker-compose.yml run qgis /usr/src/.docker/run-docker-tests.sh
3537
test_packaging:
3638
runs-on: ubuntu-latest
3739
steps:
3840
- name: Checkout
39-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4042
with:
4143
submodules: recursive
44+
4245
- name: Setup Python
43-
uses: actions/setup-python@v4
44-
with:
45-
python-version: 3.8
46-
cache: 'pip'
46+
uses: actions/setup-python@v5
47+
4748
- name: Install toolchain
4849
run: pip install build
50+
4951
- name: Package with build
5052
run: python -m build
53+
5154
- name: Install with pip
5255
run: pip install .

0 commit comments

Comments
 (0)