From d91e9a89035635066b8ac21f88452deff447dfc0 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 15 Oct 2024 07:53:48 -0600 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..8250142 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: build +on: + push: + branches: + - "**" + pull_request: + branches: + - "main" +jobs: + build: + runs-on: windows-latest + timeout-minutes: 15 + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup .NET 7 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 7.0.x + - name: Setup .NET 6 + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 6.0.x + - name: Build + run: dotnet build + - name: Test + run: dotnet test --no-build --verbosity normal