瀏覽代碼

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
Ray 6 月之前
父節點
當前提交
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/using-larger-runners
     # 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 }}
     permissions:
       actions: read

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

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