-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (36 loc) · 1.03 KB
/
blank.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: .NET Core
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Setup .NET 7
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Setup .NET 8
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Install dependencies
run: cd src && dotnet restore
- name: .Net Version
run: cd src && dotnet --version
- name: Build
run: cd src && dotnet build --configuration Release --no-restore
- name: Security Code Scan
run: cd src && ./run-security-code-scan.sh
- name: Test
run: cd src && ./codeclimate_code_coverage.sh
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
#run: cd src && dotnet test --no-restore --verbosity normal