Skip to content

Commit 7574676

Browse files
authored
updating vulnerable packages + An obselete package to be in sync wit… (#245)
* updating vulnerable packages + An obselete package to be in sync with GitOps Base library so that it doesn't conflict * Updating target version * .Net 8.0 * Update build_net_core.yml * Fixes * Test * Test * Secure password
1 parent dbb3576 commit 7574676

File tree

28 files changed

+60
-63
lines changed

28 files changed

+60
-63
lines changed

.github/workflows/build_net.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: windows-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222
- name: Setup .NET Core
23-
uses: actions/setup-dotnet@v1
23+
uses: actions/setup-dotnet@v4
2424
with:
25-
dotnet-version: 7.0.x
25+
dotnet-version: 8.0.x
2626

2727
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
2828
- name: Setup MSBuild.exe

.github/workflows/build_net_core.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222
- name: Setup .NET Core
23-
uses: actions/setup-dotnet@v1
23+
uses: actions/setup-dotnet@v4
2424
with:
25-
dotnet-version: 7.0.x
25+
dotnet-version: 8.0.x
2626

2727
- name: Install dependencies
2828
run: dotnet restore PullRequestQuantifier.sln
@@ -54,7 +54,7 @@ jobs:
5454

5555
- name: Upload release artifacts
5656
if: github.ref == 'refs/heads/main'
57-
uses: actions/upload-artifact@v2
57+
uses: actions/upload-artifact@v4
5858
with:
5959
name: release
6060
path: release/*

.github/workflows/feedback_service.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- name: Setup .NET Core
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 7.0.x
20+
dotnet-version: 8.0.x
2121
- name: Install dependencies
2222
run: dotnet restore src/PullRequestQuantifier.Feedback.Service/PullRequestQuantifier.Feedback.Service.csproj
2323
env:

.github/workflows/github_client.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- name: Setup .NET Core
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 7.0.x
20+
dotnet-version: 8.0.x
2121
- name: Install dependencies
2222
run: dotnet restore src/Clients/PullRequestQuantifier.GitHub.Client/PullRequestQuantifier.GitHub.Client.csproj
2323
env:

.github/workflows/repository_service.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: windows-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717
- name: Setup .NET Core
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 7.0.x
20+
dotnet-version: 8.0.x
2121
- name: Install dependencies
2222
run: dotnet restore src/PullRequestQuantifier.Repository.Service/PullRequestQuantifier.Repository.Service.csproj
2323
env:

.github/workflows/vscode_client.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818
- name: Setup .NET Core
19-
uses: actions/setup-dotnet@v1
19+
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: 7.0.x
21+
dotnet-version: 8.0.x
2222
- name: Install dependencies
2323
run: dotnet restore src/Clients/PullRequestQuantifier.VsCode.Client/PullRequestQuantifier.VsCode.Client.csproj
2424
env:
@@ -36,7 +36,7 @@ jobs:
3636
run: dotnet publish src/Clients/PullRequestQuantifier.VsCode.Client/PullRequestQuantifier.VsCode.Client.csproj --configuration Release --self-contained false -p:PackageVsix=true
3737
- name: Upload release artifacts
3838
if: github.ref == 'refs/heads/main'
39-
uses: actions/upload-artifact@v2
39+
uses: actions/upload-artifact@v4
4040
with:
4141
name: vsix
4242
path: src/Clients/PullRequestQuantifier.VsCode.Client/**/*.vsix

src/Clients/PullRequestQuantifier.Client.Tests/PullRequestQuantifier.Client.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

src/Clients/PullRequestQuantifier.Client/PullRequestQuantifier.Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
1313
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
14-
<PackageReference Include="System.Text.Json" Version="7.0.3" />
15-
<PackageReference Include="System.IO.Abstractions" Version="19.2.69" />
14+
<PackageReference Include="System.Text.Json" Version="9.0.5" />
15+
<PackageReference Include="System.IO.Abstractions" Version="21.2.1" />
1616
<PackageReference Include="Ignore" Version="0.1.50" />
17-
<PackageReference Include="LibGit2Sharp" Version="0.27.2" />
17+
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
1818
<PackageReference Include="YamlDotNet" Version="13.7.1" />
1919
<PackageReference Include="Stubble.Core" Version="1.10.8" />
2020
</ItemGroup>

src/Clients/PullRequestQuantifier.GitHub.Client.Tests/PullRequestQuantifier.GitHub.Client.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77

src/Clients/PullRequestQuantifier.GitHub.Client/PullRequestQuantifier.GitHub.Client.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
66
</PropertyGroup>
77

@@ -12,7 +12,7 @@
1212
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
1313
<PackageReference Include="GitHubJwt" Version="0.0.6" />
1414
<PackageReference Include="Octokit" Version="8.1.1" />
15-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
15+
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.23.0" />
1616
</ItemGroup>
1717

1818
<ItemGroup>

0 commit comments

Comments
 (0)