Skip to content

ci: 👷 Update main name in GH actions #109

ci: 👷 Update main name in GH actions

ci: 👷 Update main name in GH actions #109

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
env:
solution: Discord.BotABordelV2.sln
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./$env:solution
- name: Build
run: dotnet build ./$env:solution --no-restore
- name: Test
run: dotnet test ./$env:solution --no-build --verbosity normal