-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 784 Bytes
/
ci.yml
File metadata and controls
38 lines (30 loc) · 784 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
name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore bbt.sln
- name: Build
run: dotnet build bbt.sln -c Release --no-restore
- name: Test
run: dotnet test bbt.sln -c Release --no-build
- name: Pack (smoke)
run: dotnet pack src/Bbt/Bbt.csproj -c Release --no-build -o artifacts