浏览代码

[action] set runner to ubuntu22.04

Supper Thomas 3 月之前
父节点
当前提交
c9c103f30e

+ 1 - 1
.github/workflows/action_tools.yml

@@ -32,7 +32,7 @@ permissions:
 
 jobs:
   test:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: Tools
     if: github.repository_owner == 'RT-Thread'
     strategy:

+ 1 - 1
.github/workflows/action_utest.yml

@@ -26,7 +26,7 @@ permissions:
 
 jobs:
   test:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ matrix.legs.UTEST }}
     if: github.repository_owner == 'RT-Thread'
     strategy:

+ 1 - 1
.github/workflows/auto_labeler.yml

@@ -20,6 +20,6 @@ jobs:
     permissions:
       contents: read
       pull-requests: write
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     steps:
     - uses: actions/labeler@v5

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

@@ -30,7 +30,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ matrix.legs.RTT_BSP }}
     if: github.repository_owner == 'RT-Thread'
     strategy:
@@ -509,4 +509,4 @@ jobs:
         run: |
           curl -X POST -H "Authorization: token ${{ secrets.RTTHREAD_GITHUB_TOKEN }}" \
           -d '{"body":"@${{ github.actor }}, Thank you for your contribution, but there was an error with the action. Could you please help check the BSP compilation issue? Thank you."}' \
-          "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"
+          "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments"

+ 1 - 1
.github/workflows/compile_bsp_with_drivers.yml

@@ -33,7 +33,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: BSP Compilation with More Drivers
 
     steps:

+ 1 - 1
.github/workflows/format_check.yml

@@ -11,7 +11,7 @@ on:
 
 jobs:
   scancode_job:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: Scan code format and license
     if: github.repository_owner == 'RT-Thread'
     steps:

+ 1 - 1
.github/workflows/manual_bsp_build.yml

@@ -51,7 +51,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ github.event.inputs.bsp_options }}
     steps:
       - uses: actions/checkout@v4

+ 1 - 1
.github/workflows/manual_dist.yml

@@ -50,7 +50,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ github.event.inputs.bsp_options }}
     steps:
       - uses: actions/checkout@v4

+ 1 - 1
.github/workflows/manual_trigger_scons_STM32_all.yml

@@ -32,7 +32,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ matrix.legs.RTT_BSP }}
     if: github.repository_owner == 'RT-Thread'
     strategy:

+ 1 - 1
.github/workflows/manual_trigger_scons_except_STM32_all.yml

@@ -34,7 +34,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ matrix.legs.RTT_BSP }}
     if: github.repository_owner == 'RT-Thread'
     strategy:

+ 1 - 1
.github/workflows/manual_trigger_scons_fail_bsp_all.yml

@@ -34,7 +34,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: ${{ matrix.legs.RTT_BSP }}
     if: github.repository_owner == 'RT-Thread'
     strategy:

+ 1 - 1
.github/workflows/manual_trigger_update_all.yml

@@ -40,7 +40,7 @@ permissions:
 
 jobs:
   build:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: update and create pull request
     steps:
       - uses: actions/checkout@v4

+ 1 - 1
.github/workflows/spell_check.yml

@@ -9,7 +9,7 @@ on:
 jobs:
   spelling:
     name: Check Spelling
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     if: github.repository_owner == 'RT-Thread'
     steps:
     - name: output ignore words info

+ 1 - 1
.github/workflows/static_code_analysis.yml

@@ -21,7 +21,7 @@ on:
 
 jobs:
   scancode_job:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-22.04
     name: Static code analysis
     if: github.repository_owner == 'RT-Thread'
     steps: