-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 685 Bytes
/
code-analysis.yml
File metadata and controls
28 lines (24 loc) · 685 Bytes
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
name: "Code Analysis"
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0']
steps:
- uses: actions/checkout@v3
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Where are we
run: pwd
- name: list some key files
run: ls -lrt
- name: Install dependencies
run: dotnet restore "ActionRpg.sln"
- name: Build
run: dotnet build "ActionRpg.sln"
- name: Test
run: dotnet test --no-restore --verbosity normal "ActionRpg.sln"