Skip to content

Commit

Permalink
ci: fix ubuntu version to 22.04 (#440)
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 def7e21 commit 07fe4b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
python-version: "3.12"
- uses: pre-commit/[email protected]

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

run-unit-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
Expand All @@ -88,7 +88,7 @@ jobs:

build:
name: build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- fossa-scan
- compliance-copyrights
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
needs:
- meta
- build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: |
!contains(github.event.issue.labels.*.name, 'skip-ui-tests')
permissions:
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
- build
- run-ui-tests
- run-unit-tests
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 07fe4b9

Please sign in to comment.