瀏覽代碼

update github action runner ubuntu version

Igor Kasianenko 3 天之前
父節點
當前提交
ed274c36b7
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      .github/workflows/pytest_cpu_gha_runner.yaml
  2. 2 2
      .github/workflows/spellcheck.yml

+ 2 - 2
.github/workflows/pytest_cpu_gha_runner.yaml

@@ -10,7 +10,7 @@ on:
       runner:
         description: 'GHA Runner Scale Set label to run workflow on.'
         required: true
-        default: ubuntu-20.04
+        default: ubuntu-24.04
 
       debug:
           description: 'Run debugging steps?'
@@ -26,7 +26,7 @@ jobs:
     defaults:
       run:
         shell: bash # default shell to run all steps for a given job.
-    runs-on: ${{ github.event.inputs.runner != '' &&  github.event.inputs.runner || 'ubuntu-20.04' }}
+    runs-on: ${{ github.event.inputs.runner != '' &&  github.event.inputs.runner || 'ubuntu-24.04' }}
     steps:
 
       - name: "[DEBUG] Get runner container OS information"

+ 2 - 2
.github/workflows/spellcheck.yml

@@ -9,7 +9,7 @@ on:
       - main
 jobs:
   build:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     name: Lint changed files
     steps:
       - uses: actions/checkout@v3
@@ -31,7 +31,7 @@ jobs:
             **/*.py
 
   spellcheck:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v3