From 5ecd3dd585d041da3cde9c2b8baff4864f573eb0 Mon Sep 17 00:00:00 2001 From: Alex Zaytsev Date: Fri, 24 May 2024 14:15:49 +1000 Subject: [PATCH] Run tests on GitHub Actions --- .github/workflows/dotnet.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 000000000..79fc04ef2 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,26 @@ +name: .NET + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true + DOTNET_CLI_TELEMETRY_OPTOUT: true + IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1 + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet tool restore + - name: Build + run: dotnet cake --target AppVeyor --verbosity Diagnostic