-
-
Notifications
You must be signed in to change notification settings - Fork 568
44 lines (30 loc) · 895 Bytes
/
pr.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
name: PR
on:
pull_request:
branches: [ main, 3.x ]
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: 1
concurrency:
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: ${{ matrix.os.name }}
strategy:
matrix:
os:
- { name: 'linux', image: 'ubuntu-latest' }
- { name: 'linux - ARM', image: 'ubuntu-24.04-arm' }
- { name: 'windows', image: 'windows-latest' }
- { name: 'macos', image: 'macos-latest' }
runs-on: ${{ matrix.os.image }}
steps:
- name: Setup NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0
- name: Checkout source code
uses: actions/checkout@v4
- name: Test
run: dotnet test --configuration Release --logger GitHubActions