Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
prezaei committed Sep 26, 2024
1 parent 6e832bd commit 94d9f94
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 30 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,12 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup .NET Core 3.1.x
uses: actions/setup-dotnet@v3
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '3.1.x'

- name: Setup .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Build
run: dotnet build -c Release src/Cloudtoid.CodeAnalysis.sln
16 changes: 3 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,12 @@ jobs:
runs-on: ubuntu-latest
name: Build Pack and Publish
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup .NET Core 3.1.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: '3.1.x'

- name: Setup .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Setup .NET 7
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Build
run: dotnet build -c Release src/Cloudtoid.CodeAnalysis.sln
Expand Down
7 changes: 4 additions & 3 deletions src/Cloudtoid.CodeAnalysis.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
</PropertyGroup>

<!-- NuGet Packaging -->
Expand All @@ -20,11 +20,12 @@
<VersionSuffix Condition=" '$(VersionSuffix)'=='' ">0</VersionSuffix>
<Version>1.0.$(VersionSuffix)</Version>
<DevelopmentDependency>true</DevelopmentDependency>
<NoWarn>$(NoWarn),NU5104</NoWarn>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.4.*" IncludeAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406" IncludeAssets="all" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.11.*" IncludeAssets="all" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" IncludeAssets="all" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 94d9f94

Please sign in to comment.