Skip to content

Commit 38faebe

Browse files
Copilotbenaadams
andcommitted
Fix YAML indentation and use global.json for SDK version
Co-authored-by: benaadams <1142958+benaadams@users.noreply.github.com>
1 parent 504a7d7 commit 38faebe

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,32 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v4
2020

21-
- name: Setup .NET
22-
uses: actions/setup-dotnet@v4
23-
with:
24-
dotnet-version: '10.0.x'
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v4
23+
with:
24+
global-json-file: global.json
2525

26-
- name: Restore dependencies
27-
run: dotnet restore
26+
- name: Restore dependencies
27+
run: dotnet restore
2828

29-
- name: Build
30-
run: dotnet build --no-restore
29+
- name: Build
30+
run: dotnet build --no-restore
3131

32-
- name: Test (Common)
33-
run: dotnet test test/Magma.Common.Facts/Magma.Common.Facts.csproj --no-build --verbosity normal
32+
- name: Test (Common)
33+
run: dotnet test test/Magma.Common.Facts/Magma.Common.Facts.csproj --no-build --verbosity normal
3434

35-
- name: Test (Link)
36-
run: dotnet test test/Magma.Link.Facts/Magma.Link.Facts.csproj --no-build --verbosity normal
35+
- name: Test (Link)
36+
run: dotnet test test/Magma.Link.Facts/Magma.Link.Facts.csproj --no-build --verbosity normal
3737

38-
- name: Test (Internet.Ip)
39-
run: dotnet test test/Magma.Internet.Ip.Facts/Magma.Internet.Ip.Facts.csproj --no-build --verbosity normal
38+
- name: Test (Internet.Ip)
39+
run: dotnet test test/Magma.Internet.Ip.Facts/Magma.Internet.Ip.Facts.csproj --no-build --verbosity normal
4040

41-
- name: Test (NetMap) - Linux only
42-
if: runner.os == 'Linux'
43-
run: dotnet test test/Magma.NetMap.Facts/Magma.NetMap.Facts.csproj --no-build --verbosity normal
41+
- name: Test (NetMap) - Linux only
42+
if: runner.os == 'Linux'
43+
run: dotnet test test/Magma.NetMap.Facts/Magma.NetMap.Facts.csproj --no-build --verbosity normal
4444

45-
- name: Verify WinTun.TcpHost builds - Windows only
46-
if: runner.os == 'Windows'
47-
run: dotnet build sample/Magma.WinTun.TcpHost/Magma.WinTun.TcpHost.csproj --no-restore
45+
- name: Verify WinTun.TcpHost builds - Windows only
46+
if: runner.os == 'Windows'
47+
run: dotnet build sample/Magma.WinTun.TcpHost/Magma.WinTun.TcpHost.csproj --no-restore

0 commit comments

Comments
 (0)