From 202ca654a6d46d2b6410cfd34f3cc431475d3646 Mon Sep 17 00:00:00 2001 From: Derek Stegelman Date: Wed, 13 Nov 2024 08:50:21 -0700 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..96a8066 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +name: .NET Core + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 8.0.100 + - name: Setup NuGet.exe for use with actions + uses: NuGet/setup-nuget@v1.0.5 + + - name: Restore + run: nuget restore + + - name: Build with dotnet + run: dotnet build --no-restore + + - name: Run Test Suite + run: dotnet test --no-build