Skip to content

Commit

Permalink
Update FSharp.Analyzers.SDK and related deps (#83)
Browse files Browse the repository at this point in the history
* Update FSharp.Analyzers.SDK and related deps

* Update fantomas and fsdocs-tool to the current release versions

* Update .NET SDK to 8.0.300

* Update github actions to Node 20 versions

* Add changelog entry

---------

Co-authored-by: nojaf <florian.verdonck@outlook.com>
  • Loading branch information
Numpsy and nojaf authored May 17, 2024
1 parent 3f866a4 commit 360e3d3
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 20 deletions.
15 changes: 9 additions & 6 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@
"isRoot": true,
"tools": {
"fantomas": {
"version": "6.3.0-alpha-007",
"version": "6.3.4",
"commands": [
"fantomas"
]
],
"rollForward": false
},
"fsdocs-tool": {
"version": "20.0.0-alpha-019",
"version": "20.0.0",
"commands": [
"fsdocs"
]
],
"rollForward": false
},
"fsharp-analyzers": {
"version": "0.25.0",
"version": "0.26.0",
"commands": [
"fsharp-analyzers"
]
],
"rollForward": false
}
}
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
- name: Build
run: dotnet fsi build.fsx
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ jobs:
if: ${{ !github.event.repository.fork && github.ref == 'refs/heads/main' }}
environment: release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
- name: Build
run: dotnet fsi build.fsx
- name: Pack
run: dotnet pack src/FSharp.Analyzers/FSharp.Analyzers.fsproj --configuration Release --output artifacts
- name: Upload NuGet artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: artifacts/G-Research.FSharp.Analyzers.*.nupkg
- name: Upload documentation
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./output

Expand All @@ -39,7 +39,7 @@ jobs:
environment: release
steps:
- name: Download NuGet artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nuget-package
- name: Publish to NuGet
Expand All @@ -51,4 +51,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.10.0 - 2024-05-17

### Changed
* Update FSharp.Analyzers.SDK to `0.26.0`. [#51](https://github.com/G-Research/fsharp-analyzers/pull/83)

## 0.9.3 - 2024-02-16

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</PropertyGroup>
<ItemGroup>
<!-- locking the version of F# Core as FCS does this anyway and in practise all will be using the same version -->
<PackageVersion Include="FSharp.Analyzers.SDK" Version="[0.25.0]" />
<PackageVersion Include="FSharp.Analyzers.SDK.Testing" Version="[0.25.0]" />
<PackageVersion Include="FSharp.Core" Version="[8.0.200]" />
<PackageVersion Include="FSharp.Compiler.Service" Version="[43.8.200]" />
<PackageVersion Include="FSharp.Analyzers.SDK" Version="[0.26.0]" />
<PackageVersion Include="FSharp.Analyzers.SDK.Testing" Version="[0.26.0]" />
<PackageVersion Include="FSharp.Core" Version="[8.0.300]" />
<PackageVersion Include="FSharp.Compiler.Service" Version="[43.8.300]" />
<PackageVersion Include="Ionide.KeepAChangelog.Tasks" Version="0.1.8" />
<PackageVersion Include="DotNet.ReproducibleBuilds" Version="1.1.1" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.5.0" />
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100-rc.1.23455.8",
"version": "8.0.300",
"allowPrerelease": true,
"rollForward": "latestMajor"
}
Expand Down
2 changes: 1 addition & 1 deletion tests/FSharp.Analyzers.Tests/FSharp.Analyzers.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<GenerateProgramFile>false</GenerateProgramFile>
<IsTestProject>true</IsTestProject>
Expand Down

0 comments on commit 360e3d3

Please sign in to comment.