Skip to content

Commit 3009ecf

Browse files
committed
CI: migrate to global.json so that everything uses same .NET SDK
1 parent 0bb00a7 commit 3009ecf

5 files changed

Lines changed: 12 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
- uses: actions/checkout@v5
3535
- name: Set up .NET SDK
3636
uses: actions/setup-dotnet@v5
37-
with:
38-
dotnet-version: 9.0.x
37+
3938
- if: runner.os != 'macOS' # TODO[#430]: Re-enable this back after https://github.com/actions/runner-images/issues/13341
4039
# is resolved.
4140
name: NuGet cache

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343

4444
- name: Set up .NET SDK
4545
uses: actions/setup-dotnet@v5
46-
with:
47-
dotnet-version: 9.0.x
46+
4847
- name: NuGet cache
4948
uses: actions/cache@v4
5049
with:

Emulsion.sln

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2323
.dockerignore = .dockerignore
2424
.editorconfig = .editorconfig
2525
renovate.json = renovate.json
26+
global.json = global.json
27+
global.json.license = global.json.license
2628
EndProjectSection
2729
EndProject
2830
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Emulsion.Tests", "Emulsion.Tests\Emulsion.Tests.fsproj", "{1B3B65DD-FD58-45FA-B6FF-8532B513A7D9}"

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "10.0.100"
4+
}
5+
}

global.json.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2025 Friedrich von Never <friedrich@fornever.me>
2+
3+
SPDX-License-Identifier: MIT

0 commit comments

Comments
 (0)