Skip to content

Commit fd66c16

Browse files
authored
Merge pull request #40 from stesee/Net8
Update devcontainer and GitHub Actions to use .NET 8.0.x
2 parents c5635f4 + 54ac8d5 commit fd66c16

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "C# (.NET)",
3-
"image": "mcr.microsoft.com/devcontainers/dotnet:0-6.0",
3+
"image": "mcr.microsoft.com/devcontainers/dotnet:0-8.0",
44
"features": {
55
"ghcr.io/devcontainers/features/node:1": {},
66
"ghcr.io/devcontainers/features/dotnet:1": {}
@@ -12,16 +12,12 @@
1212
]
1313
}
1414
}
15-
1615
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1716
// "forwardPorts": [5000, 5001],
18-
1917
// Use 'postCreateCommand' to run commands after the container is created.
2018
// "postCreateCommand": "dotnet restore",
21-
2219
// Configure tool-specific properties.
2320
// "customizations": {},
24-
2521
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
2622
// "remoteUser": "root"
27-
}
23+
}

.github/workflows/dotnet.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup .NET
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 6.0.x
21+
dotnet-version: 8.0.x
2222
- name: Restore dependencies
2323
run: dotnet restore
2424
- name: Build
@@ -37,7 +37,7 @@ jobs:
3737
- name: Setup .NET
3838
uses: actions/setup-dotnet@v4
3939
with:
40-
dotnet-version: 6.0.x
40+
dotnet-version: 8.0.x
4141
- name: Restore dependencies
4242
run: dotnet restore
4343
- name: Build
@@ -65,7 +65,7 @@ jobs:
6565
- name: Setup .NET
6666
uses: actions/setup-dotnet@v4
6767
with:
68-
dotnet-version: 6.0.x
68+
dotnet-version: 8.0.x
6969
- name: Restore dependencies
7070
run: dotnet restore
7171
- name: Build

0 commit comments

Comments
 (0)