Skip to content

Commit ad41c17

Browse files
committed
Update GitHub workflows to use up-to-date environment and actions
Signed-off-by: Jon Skeet <[email protected]>
1 parent 02f3942 commit ad41c17

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ on:
99
jobs:
1010

1111
build:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-22.04
1313
env:
1414
DOTNET_NOLOGO: true
1515

1616
steps:
1717
- name: Check out our repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v3
1919

2020
# We need the .NET Core 3.1 runtime for testing
2121
- name: Setup .NET Core 3.1
22-
uses: actions/setup-dotnet@v1
22+
uses: actions/setup-dotnet@v3
2323
with:
2424
dotnet-version: 3.1.x
2525

2626
# Build with .NET 6.0 SDK
2727
- name: Setup .NET 6.0
28-
uses: actions/setup-dotnet@v1
28+
uses: actions/setup-dotnet@v3
2929
with:
3030
dotnet-version: 6.0.x
3131

.github/workflows/nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,23 @@ on:
77
jobs:
88

99
release:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-22.04
1111
env:
1212
DOTNET_NOLOGO: true
1313

1414
steps:
1515
- name: Check out our repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v3
1717

1818
# We need the .NET Core 3.1 runtime for testing
1919
- name: Setup .NET Core 3.1
20-
uses: actions/setup-dotnet@v1
20+
uses: actions/setup-dotnet@v3
2121
with:
2222
dotnet-version: 3.1.x
2323

2424
# Build with .NET 6.0 SDK
2525
- name: Setup .NET 6.0
26-
uses: actions/setup-dotnet@v1
26+
uses: actions/setup-dotnet@v3
2727
with:
2828
dotnet-version: 6.0.x
2929

0 commit comments

Comments
 (0)