Skip to content

Commit

Permalink
update CI from Ubuntu 20.04 to 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed Aug 30, 2024
1 parent 8324de3 commit 2e40d2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
getVersionNumber:
name: Get version number
if: "startsWith(github.ref, 'refs/tags/') && !contains(github.event.head_commit.message, '[skip ci]') && github.actor != 'allcontributors'"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
version: ${{ steps.get-version-number.outputs.version }}
steps:
Expand All @@ -23,15 +23,15 @@ jobs:
build:
name: Lint, test, and compile documentation
if: "!contains(github.event.head_commit.message, '[skip ci]') && github.actor != 'allcontributors'"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Install Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9.9' # no particular microversion of 3.9 is required; 3.9.8 behaves oddly in GitHub actions

Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
release:
name: Release a new version
needs: [getVersionNumber, build]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit 2e40d2d

Please sign in to comment.