Skip to content

Commit 899463b

Browse files
committed
Upgraded to .NET 7
1 parent a7c9ce4 commit 899463b

File tree

4 files changed

+12
-28
lines changed

4 files changed

+12
-28
lines changed

.github/workflows/codeql-analysis.yml

+5-23
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88

99
# Workflow Jobs
1010
jobs:
11-
# Analyze Job
1211
analyze:
1312
name: Analyze
1413
runs-on: ubuntu-latest
@@ -23,26 +22,9 @@ jobs:
2322
- name: Checkout Code
2423
uses: actions/checkout@v3
2524

26-
# Step 2 - Initialize CodeQL
27-
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v2
25+
# Step 2 - Run CodeQL
26+
- name: Run CodeQL
27+
uses: ricado-group/dotnet-library-codeql-action@v1
2928
with:
30-
languages: csharp
31-
queries: security-and-quality
32-
33-
# Step 3 - Setup .NET 6 with GitHub Packages Authentication
34-
- name: Setup .NET 6 with GitHub Packages Authentication
35-
uses: actions/[email protected]
36-
with:
37-
dotnet-version: 6.0.x
38-
source-url: https://nuget.pkg.github.com/ricado-group/index.json
39-
env:
40-
NUGET_AUTH_TOKEN: ${{ secrets.GH_PACKAGES_PAT }}
41-
42-
# Step 4 - Build the Library
43-
- name: Run CodeQL Autobuild
44-
uses: github/codeql-action/autobuild@v2
45-
46-
# Step 5 - Perform CodeQL Analysis
47-
- name: Perform CodeQL Analysis
48-
uses: github/codeql-action/analyze@v2
29+
private-nuget-url: 'https://nuget.pkg.github.com/ricado-group/index.json'
30+
private-nuget-token: ${{ secrets.GH_PACKAGES_PAT }}

.github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- main
99
tags:
1010
- '*.*.*'
11+
pull_request:
1112

1213
# Workflow Jobs
1314
jobs:
@@ -20,11 +21,12 @@ jobs:
2021

2122
# Step 2 - Build and Publish
2223
- name: Build and Publish
23-
uses: ricado-group/dotnet-library-build-release-action@v1.3
24+
uses: ricado-group/dotnet-library-build-release-action@v1
2425
with:
2526
project-name: 'RICADO.Configuration'
2627
github-token: ${{ secrets.GITHUB_TOKEN }}
2728
private-nuget-url: 'https://nuget.pkg.github.com/ricado-group/index.json'
2829
private-nuget-token: ${{ secrets.GH_PACKAGES_PAT }}
2930
public-nuget-token: ${{ secrets.NUGET_APIKEY }}
3031
publish-public: true
32+
dotnet-version: 7.0.x

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# RICADO.Configuration
2-
A Configuration Provider for .NET 6 and .NET Standard 2.0 Applications
2+
A Configuration Provider for .NET 6/7 and .NET Standard 2.0 Applications

RICADO.Configuration/RICADO.Configuration.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0;net6.0;netstandard2.0</TargetFrameworks>
55
<Authors>RICADO Group</Authors>
66
<Company>RICADO Group LP</Company>
7-
<Description>A Configuration Provider for .NET 6 and .NET Standard 2.0 Applications</Description>
7+
<Description>A Configuration Provider for .NET 6/7 and .NET Standard 2.0 Applications</Description>
88
<Copyright>Copyright © RICADO Group LP 2009 - 2022</Copyright>
99
<RepositoryUrl>https://github.com/ricado-group/dotnet-configuration</RepositoryUrl>
1010
<PackageIcon>packageIcon.png</PackageIcon>
@@ -27,7 +27,7 @@
2727

2828
<ItemGroup>
2929
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
30-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.0" />
30+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.1" />
3131
</ItemGroup>
3232

3333
</Project>

0 commit comments

Comments
 (0)