From 3033175d428fdba83a7cf850c72fa066324115b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Vukadinovi=C4=87?= <138505157+lvukadinovic-ib@users.noreply.github.com> Date: Fri, 11 Oct 2024 02:03:58 +0200 Subject: [PATCH] Build workflow --- .github/workflows/dotnet.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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 0000000..bfd6088 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,22 @@ +name: .NET build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + dotnet-version: [6.x, 7.x, 8.x] + steps: + - uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: ${{ matrix.dotnet-version }} + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal