1
0
DiademCalculator/.github/workflows/dotnet.yml
mudcrab2142 c06c291833 init
2022-03-30 02:22:32 +03:00

32 lines
688 B
YAML

name: .NET
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build_and_test:
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Download latest Dalamud build
run: |
cd ..
curl -O https://goatcorp.github.io/dalamud-distrib/latest.zip
mkdir Dalamud
unzip latest.zip -d ./Dalamud/bin
- uses: actions/checkout@v2
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal