-
Notifications
You must be signed in to change notification settings - Fork 36
43 lines (34 loc) · 909 Bytes
/
examples-tests.yml
File metadata and controls
43 lines (34 loc) · 909 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
34
35
36
37
38
39
40
41
42
43
name: Examples Tests
on:
push:
paths:
- "examples/**"
branches: [develop]
pull_request:
paths:
- "examples/**"
branches: [develop]
defaults:
run:
working-directory: ./examples
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup .NET SDK
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # 4.3.1
with:
dotnet-version: |
6.0.x
8.0.x
- name: Install dependencies
run: dotnet restore
- name: Install global tools
run: dotnet tool install --global Apache.Avro.Tools
- name: Build
run: dotnet build --configuration Release --no-restore /tl
- name: Test Examples
run: dotnet test --no-restore --verbosity normal