Skip to content

Commit 1347689

Browse files
authored
Merge PR #784 from webwarrior-ws/roll-forward
FsLint.Console: change RollForward to LatestMajor.
2 parents 7017db1 + b3d9a19 commit 1347689

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

.github/workflows/build+test+deploy.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,37 @@ jobs:
143143
- name: Add .NET tools to PATH
144144
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
145145
- name: Lint FSharpLint.Console project (net8.0 only)
146-
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0
146+
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0
147+
148+
testReleaseBinariesWithDotNet10:
149+
needs: deployReleaseBinaries
150+
runs-on: ubuntu-latest
151+
steps:
152+
- run: dotnet --list-sdks
153+
- uses: actions/checkout@v4
154+
- name: Download artifact
155+
uses: actions/download-artifact@v4
156+
with:
157+
name: binaries
158+
path: ./artifacts
159+
- name: Remove global.json to allow .NET 10 SDK
160+
run: rm -f global.json
161+
- name: Create local NuGet.config
162+
run: |
163+
cat > NuGet.config <<EOF
164+
<?xml version="1.0" encoding="utf-8"?>
165+
<configuration>
166+
<packageSources>
167+
<add key="local" value="./artifacts" />
168+
</packageSources>
169+
<disabledPackageSources>
170+
<add key="nuget.org" value="true" />
171+
</disabledPackageSources>
172+
</configuration>
173+
EOF
174+
- name: Install FSharpLint from downloaded binaries
175+
run: dotnet tool install --global dotnet-fsharplint --prerelease
176+
- name: Add .NET tools to PATH
177+
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
178+
- name: Lint FSharpLint.Console project
179+
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj

src/FSharpLint.Console/FSharpLint.Console.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<AssemblyName>dotnet-fsharplint</AssemblyName>
1313
<RootNamespace>FSharpLint.Console</RootNamespace>
1414
<IsPackable>true</IsPackable>
15-
<RollForward>Major</RollForward>
15+
<RollForward>LatestMajor</RollForward>
1616
</PropertyGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)