[action] set runner to ubuntu22.04

This commit is contained in:
Supper Thomas 2025-01-06 15:27:04 +08:00 committed by Rbb666
parent 6c6c5f5d35
commit c9c103f30e
14 changed files with 15 additions and 15 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -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"

View File

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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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: