-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.32 KB
/
continuous-integration.yml
File metadata and controls
49 lines (42 loc) · 1.32 KB
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
44
45
46
47
48
49
name: CI
on:
pull_request:
branches: [ master ]
push:
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
# merge-me:
# name: Merge me!
# needs:
# - build_test
# runs-on: ubuntu-latest
# steps:
# - name: Merge me!
# uses: ridedott/merge-me-action@master
# with:
# # Depending on branch protection rules, a manually populated
# # `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to
# # push to a protected branch must be used. This variable can have an
# # arbitrary name, as an example, this repository uses
# # `GITHUB_TOKEN_DOTTBOTT`.
# #
# # When using a custom token, it is recommended to leave the following
# # comment for other developers to be aware of the reasoning behind it:
# #
# # This must be used as GitHub Actions token does not support
# # pushing to protected branches.
# GITHUB_TOKEN: ${{ secrets.ACG_MERGE_ME_TOKEN }}
# GITHUB_LOGIN: DanBuxton