build: ci on push

This commit is contained in:
Kyle Ratti 2021-11-19 00:16:05 -05:00
parent 18d2e1616b
commit de250a91dd
No known key found for this signature in database
GPG Key ID: 321BA8EB09CD93F4

26
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: ci
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ['6.0.x']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet-version }}
source-url: https://nuget.pkg.github.com/kyleratti/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal