Skip to content

Commit 3467440

Browse files
Merge pull request #438 from fsprojects/Add_net8_testing
Add net8 testing
2 parents e037135 + b1a8d6b commit 3467440

File tree

17 files changed

+1106
-627
lines changed

17 files changed

+1106
-627
lines changed

.config/dotnet-tools.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
"version": 1,
33
"isRoot": true,
44
"tools": {
5-
"fake-cli": {
6-
"version": "6.0.0",
7-
"commands": [
8-
"fake"
9-
]
10-
},
115
"paket": {
12-
"version": "7.2.1",
6+
"version": "8.0.3",
137
"commands": [
148
"paket"
15-
]
9+
],
10+
"rollForward": false
1611
},
1712
"fsdocs-tool": {
1813
"version": "19.1.1",
1914
"commands": [
2015
"fsdocs"
21-
]
16+
],
17+
"rollForward": false
2218
}
2319
}
2420
}

.github/workflows/main.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626
- name: Setup .NET for main project build
27-
uses: actions/setup-dotnet@v3
27+
uses: actions/setup-dotnet@v4
2828
with:
2929
dotnet-version: |
3030
3.1.x
3131
6.0.x
32+
8.0.x
3233
- name: Run fake build script
3334
run: ./build.sh
3435
shell: bash
3536
- name: Save nuget package as artifact
36-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3738
with:
3839
name: nuget-package
3940
path: |

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
[Dd]ebug/
1717
[Rr]elease/
1818
x64/
19-
build/
2019
[Bb]in/
2120
[Oo]bj/
2221

.paket/Paket.Restore.targets

Lines changed: 560 additions & 0 deletions
Large diffs are not rendered by default.

build.cmd

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22

33
dotnet tool restore
44
dotnet restore
5-
if not "%*"=="" (
6-
dotnet fake run build.fsx --parallel 3 --target %*
7-
) else (
8-
dotnet fake run build.fsx --parallel 3
9-
)
5+
dotnet run -v:m --project ./build/build.fsproj -- -t %*

build.fsx

Lines changed: 0 additions & 276 deletions
This file was deleted.

build.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
#!/usr/bin/env bash
22

3+
set -eu
4+
set -o pipefail
5+
36
dotnet tool restore
47
dotnet restore
5-
if [[ $# -eq 0 ]] ; then
6-
dotnet fake run build.fsx --parallel 3
7-
else
8-
dotnet fake run build.fsx --parallel 3 --target $@
9-
fi
8+
dotnet run -v:m --project ./build/build.fsproj -- -t "$@"

0 commit comments

Comments
 (0)