1212jobs :
1313 build :
1414 name : Build
15- runs-on : ubuntu-20 .04
15+ runs-on : ubuntu-22 .04
1616 steps :
1717 - name : Checkout
18- uses : actions/checkout@v2.3.4
18+ uses : actions/checkout@v3.5.0
1919 with :
2020 fetch-depth : 0
2121 - name : Install .NET SDK
22- uses : actions/setup-dotnet@v1.8.1
22+ uses : actions/setup-dotnet@v3.0.3
2323 with :
24- dotnet-version : 6 .0.x
24+ dotnet-version : 7 .0.x
2525 - name : Build
2626 run : dotnet build LibGit2Sharp.sln --configuration Release
2727 - name : Upload packages
28- uses : actions/upload-artifact@v2.2.4
28+ uses : actions/upload-artifact@v3.1.2
2929 with :
3030 name : NuGet packages
3131 path : bin/Packages/
@@ -36,57 +36,48 @@ jobs:
3636 strategy :
3737 matrix :
3838 arch : [ amd64 ]
39- os : [windows-2019, macos-10.15 ]
40- tfm : [ net472, netcoreapp3.1, net6 .0 ]
39+ os : [ windows-2019, macos-11 ]
40+ tfm : [ net472, net6.0, net7 .0 ]
4141 exclude :
42- - os : macos-10.15
42+ - os : macos-11
4343 tfm : net472
4444 fail-fast : false
4545 steps :
4646 - name : Checkout
47- uses : actions/checkout@v2.3.4
47+ uses : actions/checkout@v3.5.0
4848 with :
4949 fetch-depth : 0
5050 - name : Install .NET SDK
51- uses : actions/setup-dotnet@v1.8.1
51+ uses : actions/setup-dotnet@v3.0.3
5252 with :
53- dotnet-version : 6.0.x
54- - name : Install .NET Core 3.1 runtime
55- if : matrix.tfm == 'netcoreapp3.1'
56- uses : actions/setup-dotnet@v1.8.1
57- with :
58- dotnet-version : 3.1.x
53+ dotnet-version : |
54+ 7.0.x
55+ 6.0.x
5956 - name : Run ${{ matrix.tfm }} tests
6057 run : dotnet test LibGit2Sharp.sln --configuration Release --framework ${{ matrix.tfm }} --logger "GitHubActions" /p:ExtraDefine=LEAKS_IDENTIFYING
6158 test-linux :
6259 name : Test / ${{ matrix.distro }} / ${{ matrix.arch }} / ${{ matrix.tfm }}
63- runs-on : ubuntu-20 .04
60+ runs-on : ubuntu-22 .04
6461 strategy :
6562 matrix :
6663 arch : [ amd64 ]
6764 # arch: [ amd64, arm64 ]
68- distro : [ alpine.3.12 , alpine.3.13 , alpine.3.14, centos.7, centos.8, debian.9, debian. 10, debian.11, fedora.33 , ubuntu.18.04, ubuntu.20.04 ]
69- sdk : [ '6.0', '3.1 ' ]
65+ distro : [ alpine.3.13 , alpine.3.14 , alpine.3.15, alpine.3.16, alpine.3.17, centos.7, centos.stream. 8, debian.10, debian.11, fedora.36 , ubuntu.18.04, ubuntu.20.04, ubuntu.22 .04 ]
66+ sdk : [ '6.0', '7.0 ' ]
7067 exclude :
71- - arch : arm64
72- distro : alpine.3.12
73- - arch : arm64
74- distro : alpine.3.13
75- sdk : ' 3.1'
76- - arch : arm64
77- distro : alpine.3.14
78- sdk : ' 3.1'
79- - arch : arm64
80- distro : centos.7
68+ - distro : alpine.3.13
69+ sdk : ' 7.0'
70+ - distro : alpine.3.14
71+ sdk : ' 7.0'
8172 include :
8273 - sdk : ' 6.0'
8374 tfm : net6.0
84- - sdk : ' 3.1 '
85- tfm : netcoreapp3.1
75+ - sdk : ' 7.0 '
76+ tfm : net7.0
8677 fail-fast : false
8778 steps :
8879 - name : Checkout
89- uses : actions/checkout@v2.3.4
80+ uses : actions/checkout@v3.5.0
9081 with :
9182 fetch-depth : 0
9283 - name : Setup QEMU
0 commit comments