From 8aa411ce1525bf379ee4beaaf5f7a1c742d1692c Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Tue, 24 Sep 2024 21:46:15 +0200 Subject: [PATCH] Create dev_push.yml --- .github/workflows/dev_push.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/dev_push.yml diff --git a/.github/workflows/dev_push.yml b/.github/workflows/dev_push.yml new file mode 100644 index 0000000..3017288 --- /dev/null +++ b/.github/workflows/dev_push.yml @@ -0,0 +1,26 @@ +name: "Push to 'dev' branch" + +on: + push: + branches: + - "dev/*" + paths: + - 'WatchIt**' + +jobs: + build: + name: Dotnet solution build test and unit tests execution + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal