Skip to content

Commit 0d09393

Browse files
ci: fix ubuntu version to 22.04 (#108)
This PR sets ubuntu version to 22.04 for scripts run with python 3.7. Reference: [ADDON-75861](https://splunk.atlassian.net/browse/ADDON-75861)
1 parent a3c9b66 commit 0d09393

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-test-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
- uses: actions/checkout@v4
3434
- uses: actions/setup-python@v5
3535
with:
36-
python-version: "3.7"
36+
python-version: "3.12"
3737
- uses: pre-commit/[email protected]
3838

3939
test-unit:
40-
runs-on: ubuntu-latest
40+
runs-on: ubuntu-22.04
4141
strategy:
4242
matrix:
4343
python-version: [ 3.7, 3.8, 3.9, "3.10", "3.11", "3.12" ]
@@ -68,7 +68,7 @@ jobs:
6868
- compliance-copyrights
6969
- pre-commit
7070
- test-unit
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-22.04
7272

7373
steps:
7474
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ repos:
3737
- id: mypy
3838
exclude: ^docs/
3939
- repo: https://github.com/PyCQA/flake8
40-
rev: 4.0.1
40+
rev: 7.1.1
4141
hooks:
4242
- id: flake8

0 commit comments

Comments
 (0)