瀏覽代碼

REVIEWED: Linux workflow to run on `ubuntu-latest`

Previous runner `ubuntu-20.04` is deprecated and being removed soon: https://github.com/actions/runner-images/issues/11101
pull/4810/merge
Ray 1 月之前
父節點
當前提交
5bda46960c
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      .github/workflows/codeql.yml
  2. +1
    -1
      .github/workflows/linux.yml

+ 1
- 1
.github/workflows/codeql.yml 查看文件

@ -26,7 +26,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners # - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements. # Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-20.04' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions: permissions:
actions: read actions: read

+ 1
- 1
.github/workflows/linux.yml 查看文件

@ -22,7 +22,7 @@ jobs:
build: build:
permissions: permissions:
contents: write # for actions/upload-release-asset to upload release asset contents: write # for actions/upload-release-asset to upload release asset
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
max-parallel: 1 max-parallel: 1

Loading…
取消
儲存