Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

chore: enable github workflow #33

chore: enable github workflow

chore: enable github workflow #33

name: build and test
# TODO: Figure out how to pull Dalamud Assets into GitHub Actions
on:
push:
branches: [ main ]
# pull_request:
# branches: [ main ]
# paths:
# - '**.cs'
# - '**.csproj'
env:
DOTNET_VERSION: '8.x.x' # The .NET SDK version to use
jobs:
build-and-test:
name: build-and-test
runs-on: windows-2022
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build /nodeReuse:false -nologo -clp:NoSummary --verbosity quiet
- name: Test
run: dotnet test --no-restore --verbosity quiet