Skip to content

Commit

Permalink
chore: degrade the ubuntu version to 22.04 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
easy1090 authored Jan 24, 2025
1 parent 1209168 commit b3987a0
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 43 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@ jobs:
matrix:
include:
- suite: modernjs
os: ubuntu-latest
os: ubuntu-22.04
- suite: _selftest
os: ubuntu-latest
os: ubuntu-22.04
# - suite: nx
# os: ubuntu-latest
# os: ubuntu-22.04
- suite: rspress
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsbuild
os: ubuntu-latest
os: ubuntu-22.04
- suite: examples
os: ubuntu-latest
os: ubuntu-22.04
- suite: rslib
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsdoctor
os: ubuntu-latest
os: ubuntu-22.04
- suite: devserver
os: ubuntu-latest
os: ubuntu-22.04
- suite: nuxt
os: ubuntu-latest
os: ubuntu-22.04
fail-fast: false
runs-on: ${{ matrix.os }}
name: ${{ matrix.suite }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/ecosystem-ci-from-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
ref: ${{ inputs.commitSHA }}

execute-selected-suite:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [get-runner-labels, prepare-binding]
if: "inputs.suite != '-'"
steps:
Expand All @@ -89,25 +89,25 @@ jobs:
matrix:
include:
- suite: modernjs
os: ubuntu-latest
os: ubuntu-22.04
- suite: _selftest
os: ubuntu-latest
os: ubuntu-22.04
# - suite: nx
# os: ubuntu-latest
# os: ubuntu-22.04
- suite: rsdoctor
os: ubuntu-latest
os: ubuntu-22.04
- suite: rspress
os: ubuntu-latest
os: ubuntu-22.04
- suite: rslib
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsbuild
os: ubuntu-latest
os: ubuntu-22.04
- suite: examples
os: ubuntu-latest
os: ubuntu-22.04
- suite: devserver
os: ubuntu-latest
os: ubuntu-22.04
- suite: nuxt
os: ubuntu-latest
os: ubuntu-22.04
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ecosystem-ci-from-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
ref: ${{ inputs.branchName }}

execute-selected-suite:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: prepare-binding
if: "inputs.suite != '-'"
steps:
Expand All @@ -94,23 +94,23 @@ jobs:
matrix:
include:
- suite: modernjs
os: ubuntu-latest
os: ubuntu-22.04
# - suite: nx
# os: ubuntu-latest
# os: ubuntu-22.04
- suite: rspress
os: ubuntu-latest
os: ubuntu-22.04
- suite: rslib
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsbuild
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsdoctor
os: ubuntu-latest
os: ubuntu-22.04
- suite: examples
os: ubuntu-latest
os: ubuntu-22.04
- suite: devserver
os: ubuntu-latest
os: ubuntu-22.04
- suite: nuxt
os: ubuntu-latest
os: ubuntu-22.04
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ecosystem-ci-selected.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

execute-selected-suite:
needs: prepare-binding
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: "inputs.suite != '-'"
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -115,23 +115,23 @@ jobs:
matrix:
include:
- suite: modernjs
os: ubuntu-latest
os: ubuntu-22.04
# - suite: nx
# os: ubuntu-latest
# os: ubuntu-22.04
- suite: rspress
os: ubuntu-latest
os: ubuntu-22.04
- suite: rslib
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsbuild
os: ubuntu-latest
os: ubuntu-22.04
- suite: rsdoctor
os: ubuntu-latest
os: ubuntu-22.04
- suite: examples
os: ubuntu-latest
os: ubuntu-22.04
- suite: devserver
os: ubuntu-latest
os: ubuntu-22.04
- suite: nuxt
os: ubuntu-latest
os: ubuntu-22.04
fail-fast: false
runs-on: ${{ matrix.os }}
name: execute-all (${{ matrix.suite }})
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/get-runner-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
main:
name: Get Runner Labels
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
LINUX_RUNNER_LABELS: ${{ steps.run.outputs.LINUX_RUNNER_LABELS }}
MACOS_RUNNER_LABELS: ${{ steps.run.outputs.MACOS_RUNNER_LABELS }}
Expand All @@ -26,6 +26,6 @@ jobs:
shell: bash
run: |
# set default value for vars.XXX_RUNNER_LABELS
echo 'LINUX_RUNNER_LABELS=${{ vars.LINUX_RUNNER_LABELS || '"ubuntu-latest"' }}' >> "$GITHUB_OUTPUT"
echo 'LINUX_RUNNER_LABELS=${{ vars.LINUX_RUNNER_LABELS || '"ubuntu-22.04"' }}' >> "$GITHUB_OUTPUT"
echo 'MACOS_RUNNER_LABELS=${{ vars.MACOS_RUNNER_LABELS || '"macos-latest"' }}' >> "$GITHUB_OUTPUT"
echo 'WINDOWS_RUNNER_LABELS=${{ vars.WINDOWS_RUNNER_LABELS || '"windows-latest"' }}' >> "$GITHUB_OUTPUT"

0 comments on commit b3987a0

Please sign in to comment.