|
9 | 9 | schedule: |
10 | 10 | - cron: "0 0 * * *" |
11 | 11 |
|
12 | | -# As we use .NET 8 now, to run tools compiled for .NET 6 we need to set roll-forward to major |
13 | 12 | env: |
| 13 | + DOTNET_VERSION: "8.0" |
| 14 | + # As we use .NET>6 now, to run tools compiled for .NETv6 we need to set roll-forward to major |
14 | 15 | DOTNET_ROLL_FORWARD: Major |
15 | 16 | TYPESCRIPT_VERSION: "5.8.3" |
16 | 17 | CHECKOUT_ACTION_VERSION: "4" |
|
39 | 40 | # The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot |
40 | 41 | apt install --yes --no-install-recommends ca-certificates |
41 | 42 |
|
42 | | - apt install --yes --no-install-recommends dotnet-sdk-8.0 |
| 43 | + apt install --yes --no-install-recommends dotnet-sdk-${{ env.DOTNET_VERSION }} |
43 | 44 |
|
44 | 45 | - name: Compile the conventions solution |
45 | 46 | run: dotnet build --configuration Release conventions.sln |
|
69 | 70 | # The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot |
70 | 71 | apt install --yes --no-install-recommends ca-certificates |
71 | 72 |
|
72 | | - apt install --yes --no-install-recommends dotnet-sdk-8.0 |
| 73 | + apt install --yes --no-install-recommends dotnet-sdk-${{ env.DOTNET_VERSION }} |
73 | 74 |
|
74 | 75 | - name: Run tests to validate F# scripts |
75 | 76 | run: dotnet test src/FileConventions.Test/FileConventions.Test.fsproj |
@@ -207,7 +208,7 @@ jobs: |
207 | 208 | # The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot |
208 | 209 | apt install --yes --no-install-recommends ca-certificates |
209 | 210 |
|
210 | | - apt install --yes --no-install-recommends dotnet-sdk-8.0 |
| 211 | + apt install --yes --no-install-recommends dotnet-sdk-${{ env.DOTNET_VERSION }} |
211 | 212 |
|
212 | 213 | - name: Check all files end with EOL |
213 | 214 | run: dotnet fsi scripts/eofConvention.fsx |
|
0 commit comments