forked from edgarfgp/GeoblockingMiddleware
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 842 Bytes
/
pull_request.yml
File metadata and controls
33 lines (32 loc) · 842 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
29
30
31
32
33
name: Pull Request
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
# - name: Check code formatting
# run: |
# dotnet tool restore
# dotnet fantomas --check -r src
avalonia:
name: GeoblockingMiddleware.sln
runs-on: macos-12
env:
SLN_FILE: GeoblockingMiddleware.sln
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore
run: dotnet restore ${SLN_FILE}
- name: Build
run: dotnet build ${SLN_FILE} --no-restore --configuration Release
- name: Test
run: dotnet test ${SLN_FILE} --no-build --configuration Release