Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 708e6ed

Browse files
Update workflows
1 parent 47862ce commit 708e6ed

File tree

6 files changed

+19
-14
lines changed

6 files changed

+19
-14
lines changed

.github/workflows/code-scan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ jobs:
4747

4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v2
50+
uses: actions/checkout@v3
5151
with:
5252
fetch-depth: 2
5353

5454
- name: Initialize CodeQL
55-
uses: github/codeql-action/init@v1
55+
uses: github/codeql-action/init@v2
5656
with:
5757
languages: ${{ matrix.language }}
5858

@@ -67,4 +67,4 @@ jobs:
6767
Configuration: ${{ matrix.configuration }}
6868

6969
- name: Perform CodeQL Analysis
70-
uses: github/codeql-action/analyze@v1
70+
uses: github/codeql-action/analyze@v2

.github/workflows/deployment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ jobs:
2424
- name: Setup .NET
2525
uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: 6.0.x
27+
dotnet-version: '6.0.x'
28+
dotnet-quality: 'ga'
2829
- name: Restore dependencies
2930
run: dotnet restore ${{ env.SOLUTION_NAME }}
3031
- name: Build solution

.github/workflows/develop-CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
- name: Setup .NET
4949
uses: actions/setup-dotnet@v3
5050
with:
51-
dotnet-version: 6.0.x
51+
dotnet-version: '6.0.x'
52+
dotnet-quality: 'ga'
5253
- name: Restore dependencies
5354
run: dotnet restore ${{ env.SOLUTION_NAME }}
5455
- name: Build solution

.github/workflows/main-CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
- name: Setup .NET
4848
uses: actions/setup-dotnet@v3
4949
with:
50-
dotnet-version: 6.0.x
50+
dotnet-version: '6.0.x'
51+
dotnet-quality: 'ga'
5152
- name: Restore dependencies
5253
run: dotnet restore ${{ env.SOLUTION_NAME }}
5354
- name: Build solution

.github/workflows/release-CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ jobs:
4848
- name: Setup .NET
4949
uses: actions/setup-dotnet@v3
5050
with:
51-
dotnet-version: 6.0.x
51+
dotnet-version: '6.0.x'
52+
dotnet-quality: 'ga'
5253
- name: Restore dependencies
5354
run: dotnet restore ${{ env.SOLUTION_NAME }}
5455
- name: Build solution

.github/workflows/sonarcloud.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,33 +38,34 @@ jobs:
3838
runs-on: windows-latest
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v2
41+
uses: actions/checkout@v3
4242
with:
4343
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
4444

4545
- name: Setup .NET
46-
uses: actions/setup-dotnet@v1
46+
uses: actions/setup-dotnet@v3
4747
with:
48-
dotnet-version: 6.0.x
48+
dotnet-version: '6.0.x'
49+
dotnet-quality: 'ga'
4950

5051
- name: Restore dependencies
5152
run: dotnet restore ${{ env.PROJECT_NAME }}
5253

5354
- name: Set up JDK 11
54-
uses: actions/setup-java@v1
55+
uses: actions/setup-java@v3
5556
with:
56-
java-version: 1.11
57+
java-version: '11'
5758

5859
- name: Cache SonarCloud packages
59-
uses: actions/cache@v1
60+
uses: actions/cache@v3
6061
with:
6162
path: ~\sonar\cache
6263
key: ${{ runner.os }}-sonar
6364
restore-keys: ${{ runner.os }}-sonar
6465

6566
- name: Cache SonarCloud scanner
6667
id: cache-sonar-scanner
67-
uses: actions/cache@v1
68+
uses: actions/cache@v3
6869
with:
6970
path: .\.sonar\scanner
7071
key: ${{ runner.os }}-sonar-scanner

0 commit comments

Comments
 (0)