chore: remove whitespace
This commit is contained in:
@@ -3,7 +3,7 @@ name: "CodeQL"
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- ".github/workflows/**.yml"
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ "csharp" ]
|
||||
language: ["csharp"]
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
|
||||
@@ -3,8 +3,8 @@ name: SonarCloud
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
types: [ opened, synchronize, reopened ]
|
||||
branches: [ main ]
|
||||
types: [opened, synchronize, reopened]
|
||||
branches: [main]
|
||||
paths-ignore:
|
||||
- "README.md"
|
||||
- ".github/workflows/**.yml"
|
||||
@@ -16,17 +16,17 @@ jobs:
|
||||
build:
|
||||
name: Build and Analyze
|
||||
runs-on: windows-latest
|
||||
|
||||
|
||||
steps:
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: 11
|
||||
distribution: 'zulu' # Alternative distribution options are available.
|
||||
distribution: "zulu" # Alternative distribution options are available.
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
|
||||
- name: Cache SonarCloud Packages
|
||||
uses: actions/cache@v3
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
|
||||
- name: Build, Teste and Analyze
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
shell: powershell
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user