Skip to content

Commit b7879d1

Browse files
Minor github action updates
- update defaults - fetch-depth & shell
1 parent fdb2dd4 commit b7879d1

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
steps:
6565
- uses: actions/checkout@v4
6666
with:
67-
fetch-depth: 1
67+
fetch-depth: 0
6868
# For pull_request_target (dependabot), checkout the PR head SHA
6969
ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.head.sha || github.ref }}
7070

@@ -121,7 +121,7 @@ jobs:
121121
} else {
122122
Write-Warning "SonarQube configuration file not found: $SonarConfigPath"
123123
}
124-
124+
125125
- name: SonarQube begin
126126
if: steps.sonar.outputs.has-project-key == 'true'
127127
run: |
@@ -145,7 +145,7 @@ jobs:
145145
dotnet build SignNow.Net.Test --configuration Debug --no-incremental `
146146
--framework ${{ matrix.framework }} `
147147
${{ env.DOTNET_BUILD_ARGS }}
148-
148+
149149
dotnet test SignNow.Net.Test --configuration Debug --no-build `
150150
--framework ${{ matrix.framework }} `
151151
--logger:trx --results-directory ./SignNow.Net.Test/TestResults `
@@ -156,7 +156,7 @@ jobs:
156156
with:
157157
name: CoverageReports-${{ runner.os }}-${{ matrix.framework }}.zip
158158
path: ${{ env.COVERAGE_PATH }}/**/coverage*
159-
159+
160160
- name: SonarQube end
161161
if: steps.sonar.outputs.has-project-key == 'true'
162162
continue-on-error: true

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
defaults:
2020
run:
21-
shell: pwsh
21+
shell: bash
2222

2323
steps:
2424
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)