diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7d891f8779ea..2068cff3ad57 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: platform: - - ubuntu-latest + - ubuntu-24.04 os_name: - linux_openresty test_dir: diff --git a/.github/workflows/check-changelog.yml b/.github/workflows/check-changelog.yml index 08d19b6391b5..2ee9b3d78872 100644 --- a/.github/workflows/check-changelog.yml +++ b/.github/workflows/check-changelog.yml @@ -12,7 +12,7 @@ permissions: jobs: check-changelog: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 5995ae0f4b1e..61404176c0cb 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: platform: - - ubuntu-latest + - ubuntu-24.04 job_name: - linux_apisix_current_luarocks - linux_apisix_current_luarocks_in_customed_nginx diff --git a/.github/workflows/close-unresponded.yml b/.github/workflows/close-unresponded.yml index c4e01ea7c00a..d9a9ec7dcfa6 100644 --- a/.github/workflows/close-unresponded.yml +++ b/.github/workflows/close-unresponded.yml @@ -13,7 +13,7 @@ jobs: permissions: issues: write # for actions/stale to close stale issues name: Prune Unresponded - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: diff --git a/.github/workflows/code-lint.yml b/.github/workflows/code-lint.yml index bec199a8f2a6..c19de44674da 100644 --- a/.github/workflows/code-lint.yml +++ b/.github/workflows/code-lint.yml @@ -12,7 +12,7 @@ permissions: jobs: lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -32,7 +32,7 @@ jobs: make lint sc-lint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: - name: Checkout code diff --git a/.github/workflows/doc-lint.yml b/.github/workflows/doc-lint.yml index cab05f92c421..f03b64559a8d 100644 --- a/.github/workflows/doc-lint.yml +++ b/.github/workflows/doc-lint.yml @@ -19,7 +19,7 @@ permissions: jobs: markdownlint: name: 🍇 Markdown - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -46,7 +46,7 @@ jobs: Chinse-Copywriting-lint: name: Chinese Copywriting - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 1 steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/docker-standalone.yml b/.github/workflows/docker-standalone.yml index 9201c77a8b33..675618ca3317 100644 --- a/.github/workflows/docker-standalone.yml +++ b/.github/workflows/docker-standalone.yml @@ -27,7 +27,7 @@ permissions: jobs: docker-test: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 30 steps: diff --git a/.github/workflows/kubernetes-ci.yml b/.github/workflows/kubernetes-ci.yml index f78d4ed77bfe..c02c9ce811d2 100644 --- a/.github/workflows/kubernetes-ci.yml +++ b/.github/workflows/kubernetes-ci.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: platform: - - ubuntu-latest + - ubuntu-24.04 os_name: - linux_openresty diff --git a/.github/workflows/license-checker.yml b/.github/workflows/license-checker.yml index 565ebb3f6836..8e7eb3c3ced3 100644 --- a/.github/workflows/license-checker.yml +++ b/.github/workflows/license-checker.yml @@ -29,7 +29,7 @@ permissions: jobs: check-license: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 3 steps: diff --git a/.github/workflows/link-check.yml b/.github/workflows/link-check.yml index a0f128e7762e..3f32892dd103 100644 --- a/.github/workflows/link-check.yml +++ b/.github/workflows/link-check.yml @@ -29,7 +29,7 @@ concurrency: jobs: check-links: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7eb237c8c876..1610a616aa17 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,7 +8,7 @@ permissions: jobs: misc: name: misc checker - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out code. uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -25,7 +25,7 @@ jobs: bash ./utils/check-plugins-code.sh ci-eclint: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 5 steps: diff --git a/.github/workflows/push-dev-image-on-commit.yml b/.github/workflows/push-dev-image-on-commit.yml index 65485d7aef5e..f3b4bc081fd0 100644 --- a/.github/workflows/push-dev-image-on-commit.yml +++ b/.github/workflows/push-dev-image-on-commit.yml @@ -96,7 +96,7 @@ jobs: merge-tags: needs: build-test-push if: github.ref == 'refs/heads/master' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Login to Docker Hub uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0 diff --git a/.github/workflows/redhat-ci.yaml b/.github/workflows/redhat-ci.yaml index a1a1b76eb218..0edf24f96d74 100644 --- a/.github/workflows/redhat-ci.yaml +++ b/.github/workflows/redhat-ci.yaml @@ -18,7 +18,7 @@ permissions: jobs: test_apisix: name: run ci on redhat ubi - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 90 strategy: fail-fast: false diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index af77520e36a6..e0749c92f402 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -14,7 +14,7 @@ permissions: jobs: main: name: Validate PR title - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Check out repository code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.github/workflows/source-install.yml b/.github/workflows/source-install.yml index 023aa5886a0c..c6fdb41ee86e 100644 --- a/.github/workflows/source-install.yml +++ b/.github/workflows/source-install.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: platform: - - ubuntu-latest + - ubuntu-24.04 os_platform: - ubuntu - redhat diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index f7e5948063ec..4d2e1405df8c 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -14,7 +14,7 @@ jobs: issues: write # for actions/stale to close stale issues pull-requests: write # for actions/stale to close stale PRs name: Prune Stale - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 10 steps: diff --git a/.github/workflows/tars-ci.yml b/.github/workflows/tars-ci.yml index d0eebb921579..8096adadb552 100644 --- a/.github/workflows/tars-ci.yml +++ b/.github/workflows/tars-ci.yml @@ -25,7 +25,7 @@ jobs: fail-fast: false matrix: platform: - - ubuntu-latest + - ubuntu-24.04 os_name: - linux_openresty diff --git a/.github/workflows/update-labels.yml b/.github/workflows/update-labels.yml index 1c46a99525f6..03df34729efc 100644 --- a/.github/workflows/update-labels.yml +++ b/.github/workflows/update-labels.yml @@ -12,7 +12,7 @@ on: jobs: issue_commented: if: github.event.issue && !github.event.issue.pull_request && github.event.comment.user.login == github.event.issue.user.login && contains(github.event.issue.labels.*.name, 'wait for update') && !contains(github.event.issue.labels.*.name, 'user responded') - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: update labels when user responds uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -33,7 +33,7 @@ jobs: pr_commented: if: github.event.issue && github.event.issue.pull_request && github.event.comment.user.login == github.event.issue.user.login && (contains(github.event.issue.labels.*.name, 'wait for update') || contains(github.event.issue.labels.*.name, 'discuss') || contains(github.event.issue.labels.*.name, 'need test cases')) && !contains(github.event.issue.labels.*.name, 'user responded') - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: update label when user responds uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 @@ -48,7 +48,7 @@ jobs: pr_review_commented: if: github.event.pull_request && github.event.comment.user.login == github.event.pull_request.user.login && (contains(github.event.pull_request.labels.*.name, 'wait for update') || contains(github.event.pull_request.labels.*.name, 'discuss') || contains(github.event.issue.labels.*.name, 'need test cases')) && !contains(github.event.pull_request.labels.*.name, 'user responded') - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: update label when user responds uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0