Skip to content

Commit aadeb74

Browse files
brendandburnsk8s-ci-robot
authored andcommitted
Add an initial github action. (#324)
* Add a new workflow. * Update gitignore.
1 parent 35f54a7 commit aadeb74

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/test.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
jobs:
2+
build:
3+
runs-on: ubuntu-18.04
4+
strategy:
5+
matrix:
6+
dotnet: [ '2.2.103', '3.0.100' ]
7+
name: Dotnet ${{ matrix.dotnet }} sample
8+
steps:
9+
- uses: actions/checkout@master
10+
- name: Setup dotnet
11+
uses: actions/setup-dotnet@v1
12+
with:
13+
dotnet-version: ${{ matrix.dotnet }}
14+
- run: dotnet build
15+
16+
on:
17+
pull_request:
18+
types: [assigned, opened, synchronize, reopened]

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.vs
33
obj/
44
bin/
5+
**/TestResults
56

67
# User-specific VS files
78
*.suo

0 commit comments

Comments
 (0)