Skip to content

Commit

Permalink
Basic net9rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Oct 9, 2024
1 parent 03a84f0 commit 2e32f8a
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"dotnet-reportgenerator-globaltool": {
"version": "5.3.8",
"version": "5.3.10",
"commands": [
"reportgenerator"
],
Expand Down Expand Up @@ -38,7 +38,7 @@
"rollForward": false
},
"nbgv": {
"version": "3.6.141",
"version": "3.6.143",
"commands": [
"nbgv"
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100-rc.1.24452.12'
dotnet-version: '9.0.100-rc.2.24474.11'
- name: Tools
run: dotnet tool restore
- name: Setup
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.100-rc.1.24452.12'
dotnet-version: '9.0.100-rc.2.24474.11'
- name: Tools
run: dotnet tool restore
- name: Setup
Expand Down
6 changes: 5 additions & 1 deletion AltCover.DotNet/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ open System.Diagnostics.CodeAnalysis
Target =
"System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute",
Justification = "Injected type")>]

[<assembly: SuppressMessage("Microsoft.Performance",
"CA1810:InitializeReferenceTypeStaticFieldsInline",
Scope = "member",
Target = "<StartupCode$AltCover-DotNet>.$DotNet.#.cctor()",
Justification = "F# Compiler did this")>]
do ()
8 changes: 5 additions & 3 deletions AltCover.Engine/Main.fs
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,11 @@ module internal Main =
tidy (x)

let internal matchType =
let os = System.Environment.GetEnvironmentVariable("OS")
|> Option.ofObj
|> Option.defaultValue String.Empty
let os =
System.Environment.GetEnvironmentVariable("OS")
|> Option.ofObj
|> Option.defaultValue String.Empty

Maybe
(os.Equals("Windows_NT", StringComparison.Ordinal))
StringComparison.OrdinalIgnoreCase
Expand Down
5 changes: 5 additions & 0 deletions AltCover.Toolkit/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ open System.Diagnostics.CodeAnalysis
Target =
"System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute",
Justification = "Injected type")>]
[<assembly: SuppressMessage("Microsoft.Performance",
"CA1810:InitializeReferenceTypeStaticFieldsInline",
Scope = "member",
Target = "<StartupCode$AltCover-Toolkit>.$OpenCover.#.cctor()",
Justification = "F# Compiler did this")>]
do ()
7 changes: 7 additions & 0 deletions AltCover.UICommon/AssemblyInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,11 @@ open System.Runtime.InteropServices
Target =
"System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute",
Justification = "Injected type")>]

[<assembly: SuppressMessage("Microsoft.Performance",
"CA1810:InitializeReferenceTypeStaticFieldsInline",
Scope = "member",
Target =
"<StartupCode$AltCover-UICommon>.$NativeJson.#.cctor()",
Justification = "F# Compiler did this")>]
()
1 change: 1 addition & 0 deletions Build/DriveApi.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<PackageReference Include="AltCover.Fake" VersionOverride="8.6.14" />
<PackageReference Include="Fake.Core.Target" />
<PackageReference Include="Fake.DotNet.Cli" />
<PackageReference Include="System.Collections.Immutable" VersionOverride="8.0.0" />
<PackageReference Include="Unquote" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions Build/targets.fs
Original file line number Diff line number Diff line change
Expand Up @@ -1078,8 +1078,8 @@ module Targets =
|> not)
!! "./Build/*.fsx" |> Seq.map Path.GetFullPath ]
|> Seq.concat
// |> Seq.map (fun f -> printfn "Linting %A" f
// (doLint f).ExitCode)
// |> Seq.map (fun f -> printfn "Linting %A" f
// (doLint f).ExitCode)
|> Seq.map doLintAsync
|> throttle
|> Async.RunSynchronously
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.100-rc.1.24452.12",
"version": "9.0.100-rc.2.24474.11",
"rollForward": "latestMinor"
}
}

0 comments on commit 2e32f8a

Please sign in to comment.