Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5739e3e

Browse files
authored
Merge pull request #241 from sir-gon/develop
[CONFIG] [Github Actions] sonarcloud "security issues" fixed.
2 parents 914bae2 + c597e5f commit 5739e3e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎.github/workflows/dotnet-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
- name: Test
3636
run: dotnet test --no-build --verbosity normal
3737
- name: Upload coverage reports to Codecov
38-
uses: codecov/codecov-action@v5.4.3
38+
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}

‎.github/workflows/snyk-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Restore dependencies
2828
run: dotnet restore algorithm_exercises_csharp.sln
2929
- name: Run Snyk to check for vulnerabilities
30-
uses: snyk/actions/dotnet@master
30+
uses: snyk/actions/dotnet@b98d498629f1c368650224d6d212bf7dfa89e4bf
3131
continue-on-error: true # To make sure that SARIF upload gets called
3232
env:
3333
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

‎.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ jobs:
5151
run: |
5252
.\.sonar\scanner\dotnet-sonarscanner begin `
5353
/k:"sir-gon_algorithm-exercises-csharp" `
54-
/o:"sir-gon" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" `
54+
/o:"sir-gon" /d:sonar.token="${{ env.SONAR_TOKEN }}" `
5555
/d:sonar.host.url="https://sonarcloud.io" `
5656
/d:sonar.cs.opencover.reportsPaths=**/coverage.opencover.xml
5757
5858
dotnet restore
5959
dotnet build --no-restore
6060
dotnet test --no-build --verbosity normal
6161
.\.sonar\scanner\dotnet-sonarscanner end `
62-
/d:sonar.token="${{ secrets.SONAR_TOKEN }}"
62+
/d:sonar.token="${{ env.SONAR_TOKEN }}"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /