Skip to content

Commit

Permalink
Change ci to win2016; add cache
Browse files Browse the repository at this point in the history
  • Loading branch information
asherber committed Aug 14, 2021
1 parent 140595e commit b8a9384
Show file tree
Hide file tree
Showing 5 changed files with 1,460 additions and 17 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on: [ push, pull_request, workflow_dispatch ]
jobs:
build_and_test:
runs-on: windows-2016
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Restore cache
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Build
run: dotnet build

- name: Test
run: dotnet test --no-build -v normal
16 changes: 0 additions & 16 deletions .github/workflows/dotnet.yml

This file was deleted.

Loading

0 comments on commit b8a9384

Please sign in to comment.