Skip to content

Instantly share code, notes, and snippets.

@paulthecyclist
Created April 28, 2020 19:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save paulthecyclist/e8417ac47b2ee9eb3a1ec5165a69861d to your computer and use it in GitHub Desktop.
dotnetcore.yml
name: CI Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment