Skip to content

Commit

Permalink
Merge branch 'develop/maintenance' into release/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Jan 21, 2024
2 parents f041c1f + a971e3d commit 698604d
Show file tree
Hide file tree
Showing 19 changed files with 819 additions and 755 deletions.
10 changes: 8 additions & 2 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
"isRoot": true,
"tools": {
"dotnet-reportgenerator-globaltool": {
"version": "5.1.12",
"version": "5.2.0",
"commands": [
"reportgenerator"
]
},
"dotnet-fsharplint": {
"version": "0.21.3",
"version": "0.23.6",
"commands": [
"dotnet-fsharplint"
]
},
"coveralls.net": {
"version": "4.0.1",
"commands": [
"csmacnz.Coveralls"
]
}
}
}
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,32 @@ jobs:
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.100'
dotnet-version: '8.0.100'
- name: Tools
run: dotnet tool restore
- name: Setup
run: dotnet run --project ./Build/Setup.fsproj
- name: Build
env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
NUGET_API_TOKEN: ${{ secrets.NUGET_API_TOKEN }}
run: dotnet run --project ./Build/Build.fsproj
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: nupkgs
path: _Packagin*/*.nupkg
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-dotnet@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.100'
dotnet-version: '7.0.400'
- name: Tools
run: dotnet tool restore
- name: Setup
Expand Down
2 changes: 1 addition & 1 deletion Build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ module Build =
Targets.initTargets ()
Target.runOrDefault <| Targets.defaultTarget ()

0 // return an integer exit code
0
8 changes: 8 additions & 0 deletions Build/setup.fs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ module Setup =
"dotnet"
|> Fake.Core.ProcessUtils.tryFindFileOnPath

let cliArguments =
{ MSBuild.CliArguments.Create() with
ConsoleLogParameters = []
DistributedLoggers = None
Properties = []
DisableInternalBinLog = true }

let dotnetOptions (o: DotNet.Options) =
match dotnetPath with
| Some f -> { o with DotNetCliPath = f }
Expand All @@ -27,5 +34,6 @@ module Setup =
(fun o ->
{ o with
Packages = [ "./packages" ]
MSBuildParams = cliArguments
Common = dotnetOptions o.Common })
"./Build/NuGet.csproj"
Loading

0 comments on commit 698604d

Please sign in to comment.