diff --git a/.github/workflows/action_tools.yml b/.github/workflows/action_tools.yml index ba5c624cba3..c861027cda0 100644 --- a/.github/workflows/action_tools.yml +++ b/.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: diff --git a/.github/workflows/action_utest.yml b/.github/workflows/action_utest.yml index a5cd538884e..c013c7addb4 100644 --- a/.github/workflows/action_utest.yml +++ b/.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: diff --git a/.github/workflows/auto_labeler.yml b/.github/workflows/auto_labeler.yml index be0aa0ad17e..e75f90740d6 100644 --- a/.github/workflows/auto_labeler.yml +++ b/.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 \ No newline at end of file diff --git a/.github/workflows/bsp_buildings.yml b/.github/workflows/bsp_buildings.yml index 5f4e2fc3d53..fcd219d33b6 100644 --- a/.github/workflows/bsp_buildings.yml +++ b/.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" \ No newline at end of file + "https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments" diff --git a/.github/workflows/compile_bsp_with_drivers.yml b/.github/workflows/compile_bsp_with_drivers.yml index 71f17030861..38287ec560d 100644 --- a/.github/workflows/compile_bsp_with_drivers.yml +++ b/.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: diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index 2959db7e585..a95a82aa62d 100644 --- a/.github/workflows/format_check.yml +++ b/.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: diff --git a/.github/workflows/manual_bsp_build.yml b/.github/workflows/manual_bsp_build.yml index 58420272ba7..85d0ecaf851 100644 --- a/.github/workflows/manual_bsp_build.yml +++ b/.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 diff --git a/.github/workflows/manual_dist.yml b/.github/workflows/manual_dist.yml index c2cf7910e90..d73c79c43dc 100644 --- a/.github/workflows/manual_dist.yml +++ b/.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 diff --git a/.github/workflows/manual_trigger_scons_STM32_all.yml b/.github/workflows/manual_trigger_scons_STM32_all.yml index 707643b52ed..ef888de10fa 100644 --- a/.github/workflows/manual_trigger_scons_STM32_all.yml +++ b/.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: diff --git a/.github/workflows/manual_trigger_scons_except_STM32_all.yml b/.github/workflows/manual_trigger_scons_except_STM32_all.yml index fdd8c9a8980..ed41cf45ebf 100644 --- a/.github/workflows/manual_trigger_scons_except_STM32_all.yml +++ b/.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: diff --git a/.github/workflows/manual_trigger_scons_fail_bsp_all.yml b/.github/workflows/manual_trigger_scons_fail_bsp_all.yml index 5db36489f29..b98403039d5 100644 --- a/.github/workflows/manual_trigger_scons_fail_bsp_all.yml +++ b/.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: diff --git a/.github/workflows/manual_trigger_update_all.yml b/.github/workflows/manual_trigger_update_all.yml index 2eb600036c2..5d7a1bb22f1 100644 --- a/.github/workflows/manual_trigger_update_all.yml +++ b/.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 diff --git a/.github/workflows/spell_check.yml b/.github/workflows/spell_check.yml index 1cc6a91d8c0..b27d82fbb29 100644 --- a/.github/workflows/spell_check.yml +++ b/.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 diff --git a/.github/workflows/static_code_analysis.yml b/.github/workflows/static_code_analysis.yml index 56d34e964fb..9370e0e4360 100644 --- a/.github/workflows/static_code_analysis.yml +++ b/.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: