Skip to content

Commit dcb8d9c

Browse files
ci: update workflows
1 parent 04cf373 commit dcb8d9c

4 files changed

Lines changed: 7 additions & 17 deletions

File tree

.github/workflows/build-code.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
- name: Set up .NET
2121
uses: zyactions/dotnet-setup@v1
2222
with:
23-
global-json-file: src/global.json
23+
global-json-file: global.json
2424

2525
- name: Restore .NET dependencies
2626
uses: zyactions/dotnet-restore@v1
27-
with:
28-
working-directory: src/
2927

3028
- name: Build solution
31-
run: dotnet build src/
29+
run: dotnet build

.github/workflows/lint-code.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,10 @@ jobs:
2020
- name: Set up .NET
2121
uses: zyactions/dotnet-setup@v1
2222
with:
23-
global-json-file: src/global.json
23+
global-json-file: global.json
2424

2525
- name: Restore .NET dependencies
2626
uses: zyactions/dotnet-restore@v1
27-
with:
28-
working-directory: src/
2927

3028
- name: Lint solution
3129
uses: zyactions/dotnet-lint@v1
32-
with:
33-
working-directory: src/

.github/workflows/scan-code.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ jobs:
3737
- name: Set up .NET
3838
uses: zyactions/dotnet-setup@v1
3939
with:
40-
global-json-file: src/global.json
40+
global-json-file: global.json
4141

4242
- name: Restore .NET dependencies
4343
uses: zyactions/dotnet-restore@v1
44-
with:
45-
working-directory: src/
4644

4745
- name: Build solution
48-
run: dotnet build src/
46+
run: dotnet build
4947

5048
- name: Perform CodeQL Analysis
5149
uses: github/codeql-action/analyze@v3

.github/workflows/test-code.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@ jobs:
2020
- name: Set up .NET
2121
uses: zyactions/dotnet-setup@v1
2222
with:
23-
global-json-file: src/global.json
23+
global-json-file: global.json
2424

2525
- name: Restore .NET dependencies
2626
uses: zyactions/dotnet-restore@v1
27-
with:
28-
working-directory: src/
2927

3028
- name: Test solution
31-
run: dotnet test src/
29+
run: dotnet test

0 commit comments

Comments
 (0)