Skip to content

Commit

Permalink
Merge pull request #284 from xt0rted/dotnet-targets
Browse files Browse the repository at this point in the history
Drop dotnet core 3.1 and add 7.0
  • Loading branch information
xt0rted authored Jul 2, 2023
2 parents 826978b + 93b40cb commit ffd322d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
colored-output: false
strip-comments-from-global-json: false
dotnet-version: |
3.1.x
6.0.x
- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
colored-output: false
strip-comments-from-global-json: false
dotnet-version: |
3.1.x
6.0.x
- run: npm ci

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
colored-output: false
strip-comments-from-global-json: false
dotnet-version: |
3.1.x
6.0.x
- run: npm ci

Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"linecap",
"linejoin",
"viewbox"
]
],
"dotnet.defaultSolution": "HeroiconsTagHelper.sln"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

> **Note**:
> This version drops support for .NET Core 3.1
- Started targeting .NET 7.0
- Bumped `heroicons` from 2.0.15 to 2.0.16

## [2.0.15](https://github.com/xt0rted/heroicons-tag-helper/compare/v2.0.14...v2.0.15) - 2023-02-14
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

<PropertyGroup>
<TargetFrameworks>net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net7.0;net6.0</TargetFrameworks>
<LangVersion>preview</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
Expand Down
4 changes: 2 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"sdk": {
"version": "6.0.411"
"version": "7.0.305"
},
"scripts": {
"clean": "dotnet rimraf artifacts",
"clean:bin": "dotnet rimraf **/bin **/obj",
"build": "dotnet build",
"test": "dotnet test",
"test:31": "dotnet test --framework netcoreapp3.1",
"test:6": "dotnet test --framework net6.0",
"test:7": "dotnet test --framework net7.0",
"pack": "dotnet pack --output ./artifacts",
"ci": "dotnet r build test pack",
"watch": "dotnet watch [env:DOTNET_WATCH_RESTART_ON_RUDE_EDIT=true] --verbose --project sample"
Expand Down
2 changes: 1 addition & 1 deletion sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<TargetFrameworks></TargetFrameworks>
<NoWarn>1701;1702;CS0618</NoWarn>
</PropertyGroup>
Expand Down

0 comments on commit ffd322d

Please sign in to comment.