SteamPathsLib/.github/workflows/dotnet-core.yml

26 lines
680 B
YAML
Raw Normal View History

2020-09-18 20:02:18 +03:00
name: .NET Core
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.301
- name: Install dependencies
2020-09-18 20:18:12 +03:00
run: dotnet restore ./src/EpicMorg.SteamPathsLib/EpicMorg.SteamPathsLib.csproj
2020-09-18 20:02:18 +03:00
- name: Build
2020-09-18 20:18:12 +03:00
run: dotnet build --configuration Release --no-restore ./src/EpicMorg.SteamPathsLib/EpicMorg.SteamPathsLib.csproj
2020-09-18 20:02:18 +03:00
- name: Test
2020-09-18 20:18:12 +03:00
run: dotnet test --no-restore --verbosity normal ./src/EpicMorg.SteamPathsLib/EpicMorg.SteamPathsLib.csproj