Skip to content

Commit

Permalink
use dotnet 8 preview sdk and lang preview (#2924)
Browse files Browse the repository at this point in the history
* - use dotnet 8 preview sdk
- use lang preview

* lowercase preview

* Update SDK and tools

* Set stuff

---------

Co-authored-by: nojaf <[email protected]>
  • Loading branch information
dawedawe and nojaf authored Aug 31, 2023
1 parent 6bb3479 commit 369faf8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"fsdocs-tool": {
"version": "18.1.0",
"version": "19.0.0",
"commands": [
"fsdocs"
]
Expand Down
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Some common use cases include:
<!-- https://www.gresearch.co.uk/blog/article/improve-nuget-restores-with-static-graph-evaluation/ -->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<ServerGarbageCollection>true</ServerGarbageCollection>
<LangVersion>preview</LangVersion>
<OtherFlags>$(OtherFlags) --test:GraphBasedChecking --test:ParallelOptimization --test:ParallelIlxGen</OtherFlags>
</PropertyGroup>

Expand Down
3 changes: 3 additions & 0 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ pipeline "Build" {
stage "Docs" {
whenNot { platformOSX }
run "dotnet fsi ./docs/.style/style.fsx"
envVars
[| "DOTNET_ROLL_FORWARD_TO_PRERELEASE", "1"
"DOTNET_ROLL_FORWARD", "LatestMajor" |]
run
$"dotnet fsdocs build --clean --properties Configuration=Release --fscoptions \" -r:{semanticVersioning}\" --eval --strict --nonpublic"
}
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "7.0.400",
"rollForward": "latestFeature"
"version": "8.0.100-preview.7.23376.3",
"rollForward": "latestPatch"
}
}

0 comments on commit 369faf8

Please sign in to comment.