Add an initial github action. (#324)

* Add a new workflow.

* Update gitignore.
This commit is contained in:
Brendan Burns
2019-11-09 01:03:39 -05:00
committed by Kubernetes Prow Robot
parent 35f54a779f
commit aadeb74af9
2 changed files with 19 additions and 0 deletions

18
.github/workflows/test.yaml vendored Normal file
View File

@@ -0,0 +1,18 @@
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
dotnet: [ '2.2.103', '3.0.100' ]
name: Dotnet ${{ matrix.dotnet }} sample
steps:
- uses: actions/checkout@master
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}
- run: dotnet build
on:
pull_request:
types: [assigned, opened, synchronize, reopened]

1
.gitignore vendored
View File

@@ -2,6 +2,7 @@
.vs
obj/
bin/
**/TestResults
# User-specific VS files
*.suo