about summary refs log tree commit diff
diff options
context:
space:
mode:
authorxFrednet <xFrednet@gmail.com>2022-12-06 19:13:53 +0100
committerxFrednet <xFrednet@gmail.com>2022-12-06 19:13:53 +0100
commitf170b1f01ab9e5faabc9c9b0080065603033b4c0 (patch)
tree57d223fc71dfc0909bed9b06506b55bdb4f00d93
parentcb8df45333786fc89cd566bbaa71447bb4b105bd (diff)
downloadrust-f170b1f01ab9e5faabc9c9b0080065603033b4c0.tar.gz
rust-f170b1f01ab9e5faabc9c9b0080065603033b4c0.zip
Use ubuntu-20.04 instead of ubuntu-latest
-rw-r--r--.github/workflows/clippy.yml2
-rw-r--r--.github/workflows/clippy_bors.yml18
2 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml
index b9921301197..a0fb23e7664 100644
--- a/.github/workflows/clippy.yml
+++ b/.github/workflows/clippy.yml
@@ -30,7 +30,7 @@ env:
 jobs:
   base:
     # NOTE: If you modify this job, make sure you copy the changes to clippy_bors.yml
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     # Setup
diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml
index 6448b2d4068..03e42e06744 100644
--- a/.github/workflows/clippy_bors.yml
+++ b/.github/workflows/clippy_bors.yml
@@ -19,7 +19,7 @@ defaults:
 
 jobs:
   changelog:
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     - uses: rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
@@ -53,12 +53,12 @@ jobs:
     needs: changelog
     strategy:
       matrix:
-        os: [ubuntu-latest, windows-latest, macos-latest]
+        os: [ubuntu-20.04, windows-latest, macos-latest]
         host: [x86_64-unknown-linux-gnu, i686-unknown-linux-gnu, x86_64-apple-darwin, x86_64-pc-windows-msvc]
         exclude:
-        - os: ubuntu-latest
+        - os: ubuntu-20.04
           host: x86_64-apple-darwin
-        - os: ubuntu-latest
+        - os: ubuntu-20.04
           host: x86_64-pc-windows-msvc
         - os: macos-latest
           host: x86_64-unknown-linux-gnu
@@ -147,7 +147,7 @@ jobs:
 
   metadata_collection:
     needs: changelog
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
      # Setup
@@ -166,7 +166,7 @@ jobs:
 
   integration_build:
     needs: changelog
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     # Setup
@@ -224,7 +224,7 @@ jobs:
         - 'rust-lang-nursery/failure'
         - 'rust-lang/log'
 
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
 
     steps:
     # Setup
@@ -265,7 +265,7 @@ jobs:
   end-success:
     name: bors test finished
     if: github.event.pusher.name == 'bors' && success()
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     needs: [changelog, base, metadata_collection, integration_build, integration]
 
     steps:
@@ -275,7 +275,7 @@ jobs:
   end-failure:
     name: bors test finished
     if: github.event.pusher.name == 'bors' && (failure() || cancelled())
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     needs: [changelog, base, metadata_collection, integration_build, integration]
 
     steps: