Skip to content

Commit

Permalink
Use ubuntu 22.04 runner in github actions (#3692)
Browse files Browse the repository at this point in the history
Re: actions/runner-images#10636

> If you see any issues with your workflows during transition period:
> 
> - Switch back to Ubuntu 22 by changing workflow YAML to use `runs-on:
ubuntu-22.04` We support two latest LTS Ubuntu versions, so Ubuntu 22
will still be maintained for the next 2 years.
  • Loading branch information
xwang233 authored Jan 10, 2025
1 parent cdd23a7 commit 5f2b8ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
clang-build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -37,7 +37,7 @@ jobs:
python setup.py build
dynamic-type-meson:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:

jobs:
check-license:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -28,7 +28,7 @@ jobs:
test ! -s missing-header-files.txt
clang-tidy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
git --no-pager diff --diff-filter=d --name-only $head_commit | grep -e "csrc/.*\.cpp" -e "csrc/.*\.h" | xargs lintrunner --take CLANGTIDY --force-color
lintrunner:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 5f2b8ca

Please sign in to comment.