Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion .github/workflows/build+test+deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,37 @@ jobs:
- name: Add .NET tools to PATH
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
- name: Lint FSharpLint.Console project (net8.0 only)
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj --framework net8.0

testReleaseBinariesWithDotNet10:
needs: deployReleaseBinaries
runs-on: ubuntu-latest
steps:
- run: dotnet --list-sdks
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: binaries
path: ./artifacts
- name: Remove global.json to allow .NET 10 SDK
run: rm -f global.json
- name: Create local NuGet.config
run: |
cat > NuGet.config <<EOF
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="local" value="./artifacts" />
</packageSources>
<disabledPackageSources>
<add key="nuget.org" value="true" />
</disabledPackageSources>
</configuration>
EOF
- name: Install FSharpLint from downloaded binaries
run: dotnet tool install --global dotnet-fsharplint --prerelease
- name: Add .NET tools to PATH
run: echo "$HOME/.dotnet/tools" >> $GITHUB_PATH
- name: Lint FSharpLint.Console project
run: dotnet fsharplint lint ./src/FSharpLint.Console/FSharpLint.Console.fsproj
2 changes: 1 addition & 1 deletion src/FSharpLint.Console/FSharpLint.Console.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<AssemblyName>dotnet-fsharplint</AssemblyName>
<RootNamespace>FSharpLint.Console</RootNamespace>
<IsPackable>true</IsPackable>
<RollForward>Major</RollForward>
<RollForward>LatestMajor</RollForward>
</PropertyGroup>

<ItemGroup>
Expand Down
Loading