Skip to content

Commit

Permalink
ci: fix ubuntu version to 22.04 (#321)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
dvarasani-crest authored Oct 30, 2024
1 parent 33d7d06 commit ab40a52
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: "3.12"
- uses: pre-commit/[email protected]

semgrep:
Expand All @@ -63,7 +63,7 @@ jobs:
SEMGREP_KEY: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}

build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- fossa-scan
- compliance-copyrights
Expand All @@ -86,7 +86,7 @@ jobs:

test-unit:
name: test-unit ${{ matrix.python-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
continue-on-error: true
strategy:
matrix:
Expand All @@ -108,7 +108,7 @@ jobs:
poetry run pytest tests/unit
integration-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- meta
- test-unit
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
- build
- test-unit
- integration-tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit ab40a52

Please sign in to comment.