Skip to content

Commit 10f23fc

Browse files
authored
Merge pull request #2378 from rajatjindal/use-ubuntu-20-04
use ubuntu 20.04 for PR workflow to make it consistent with release workflow
2 parents 4c8c2db + ffd80ad commit 10f23fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626
jobs:
2727
lint-rust:
2828
name: Lint Rust
29-
runs-on: "ubuntu-latest"
29+
runs-on: "ubuntu-20.04"
3030
permissions:
3131
## Allow this job to potentially cancel the running workflow (on failure)
3232
actions: write
@@ -53,7 +53,7 @@ jobs:
5353
## This is separated out to remove full integration tests dependencies on windows/mac builds
5454
build-rust-ubuntu:
5555
name: Build Spin Ubuntu
56-
runs-on: ubuntu-latest
56+
runs-on: ubuntu-20.04
5757
steps:
5858
- uses: actions/checkout@v3
5959

@@ -77,7 +77,7 @@ jobs:
7777

7878
build-spin-static:
7979
name: Build Spin static
80-
runs-on: ubuntu-latest
80+
runs-on: ubuntu-20.04
8181
strategy:
8282
matrix:
8383
config:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ jobs:
284284
## statically linked spin binaries
285285
build-spin-static:
286286
name: Build Spin static
287-
runs-on: ubuntu-latest
287+
runs-on: ubuntu-20.04
288288
permissions:
289289
# cosign uses the GitHub OIDC token
290290
id-token: write

0 commit comments

Comments
 (0)