Skip to content

Commit

Permalink
ci: update ubuntu runners to 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
afuetterer committed May 17, 2024
1 parent 36e3305 commit 2e32c0e
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
analyze:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
docs:
# Disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
label:
permissions:
issues: write
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Run GitHub Labeler
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
release:
# disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
needs:
- test
- docs
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish package to PyPI
on:
release:
types: [created]
workflow_dispatch:
workflow_dispatch: # run manually from actions tab

permissions:
contents: read
Expand All @@ -12,7 +12,7 @@ jobs:
publish:
# disables this workflow from running in a repository that is not part of the indicated organization/user
if: github.repository_owner == 'afuetterer'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
environment: publish
permissions:
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
# Needed if using Code scanning alerts
security-events: write
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,14 @@ on:
schedule:
# run once a week at midnight of sunday
- cron: 0 0 * * 0
# run manually from actions tab
workflow_dispatch:
workflow_dispatch: # run manually from actions tab

permissions:
contents: read

jobs:
stale:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
issues: write
pull-requests: write
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
test:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
Expand Down Expand Up @@ -93,7 +93,8 @@ jobs:
build-inspect:
name: Build and inspect the package
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- run: sudo apt-get install tree # workaround for "tree: command not found" in baipp
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: hynek/build-and-inspect-python-package@4aea7de65ba374f49b5f549cd471b61de2ef19d3 # v2.5.0
5 changes: 2 additions & 3 deletions .github/workflows/upgrade-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
schedule:
# run once a month at midnight of the first day of the month
- cron: 0 0 1 * *
# run manually from actions tab
workflow_dispatch:
workflow_dispatch: # run manually from actions tab

permissions:
contents: read
Expand All @@ -20,7 +19,7 @@ jobs:
contents: write # for peter-evans/create-pull-request to create branch
pull-requests: write # for peter-evans/create-pull-request to create a PR
name: Upgrade requirements
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install uv
Expand Down

0 comments on commit 2e32c0e

Please sign in to comment.