Skip to content

Commit 8c715d9

Browse files
authored
Merge pull request #9 from TheAngryByrd/net-7-preview
Net 7 preview
2 parents ae7d39e + 97b85e7 commit 8c715d9

File tree

15 files changed

+93
-63
lines changed

15 files changed

+93
-63
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"paket": {
18-
"version": "6.2.1",
18+
"version": "7.1.5",
1919
"commands": [
2020
"paket"
2121
]

.github/workflows/build.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,26 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111

1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Use .NET Core 3.1 SDK
15-
uses: actions/setup-dotnet@v1
13+
- uses: actions/checkout@v3
14+
- name: Setup necessary dotnet SDKs
15+
uses: actions/setup-dotnet@v3
1616
with:
17-
dotnet-version: '3.1.x'
18-
- name: Use .NET Core 5.0.x SDK
19-
uses: actions/setup-dotnet@v1
20-
with:
21-
dotnet-version: '5.0.x'
17+
dotnet-version: |
18+
2.1.x
19+
3.1.x
20+
5.x
21+
6.x
2222
# Not specifying a version will attempt to install via global.json
2323
- name: Use .NET Core global.json
24-
uses: actions/setup-dotnet@v1
25-
26-
- name: Build
24+
uses: actions/setup-dotnet@v3
25+
- name: Build via Bash
2726
if: runner.os != 'Windows'
2827
run: |
2928
chmod +x ./build.sh
3029
./build.sh
3130
env:
3231
CI: true
33-
- name: Build
32+
- name: Build via Windows
3433
if: runner.os == 'Windows'
3534
run: ./build.cmd
3635
env:

benchmarks/CSharpTaskBenchmarks/CSharpTaskBenchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<IsPackable>false</IsPackable>

benchmarks/FSharpBenchmarks/benchmarks.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
</PropertyGroup>
77

88
<PropertyGroup>

build/build.fs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ let updateChangelog ctx =
357357
let linkReferenceForUnreleased = sprintf "[Unreleased]: %s/compare/%s...%s" gitHubRepoUrl (tagFromVersionNumber newVersion.AsString) "HEAD"
358358
let tailLines = File.read changelogFilename |> List.ofSeq |> List.rev
359359

360-
let isRef line = System.Text.RegularExpressions.Regex.IsMatch(line, @"^\[.+?\]:\s?[a-z]+://.*$")
360+
let isRef (line: string) = System.Text.RegularExpressions.Regex.IsMatch(line, @"^\[.+?\]:\s?[a-z]+://.*$")
361361
let linkReferenceTargets =
362362
tailLines
363363
|> List.skipWhile String.isNullOrWhiteSpace
@@ -726,7 +726,6 @@ let initTargets () =
726726
"DotnetRestore"
727727
==> "CheckFormatCode"
728728
==> "DotnetBuild"
729-
==> "FSharpAnalyzers"
730729
==> "DotnetTest"
731730
=?> ("GenerateCoverageReport", not disableCodeCoverage)
732731
==> "DotnetPack"

build/build.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net6.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
<WarnOn>3390;$(WarnOn)</WarnOn>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>

docsTool/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ module GenerateDocs =
205205
{ opts
206206
with
207207
OutputPath = Some cfg.PublishPath.FullName
208-
Framework = Some "net6.0"
208+
Framework = Some "net7.0"
209209
})
210210
p
211211
)

docsTool/docsTool.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net7.0</TargetFramework>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>
88

global.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"sdk": {
3-
"version": "6.0.100",
4-
"rollForward": "feature"
5-
}
6-
}
2+
"sdk": {
3+
"version": "7.0.100-rc.2.22477.23"
4+
}
5+
}

paket.dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source https://www.nuget.org/api/v2
22
source https://api.nuget.org/v3/index.json
33
storage: none
4-
nuget FSharp.Core ~> 6
4+
nuget FSharp.Core 7.0.0-beta.22473.1
55
nuget Microsoft.SourceLink.GitHub 1.1.0 copy_local: true
66
nuget Expecto 9.0.4
77
nuget YoloDev.Expecto.TestSdk 0.12.12

0 commit comments

Comments
 (0)