ci: ignore unnecessary changes
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 2s
Build, Package and Push Images / build (push) Successful in 24s
Build, Package and Push Images / sonarqube (push) Has been skipped
Build, Package and Push Images / sbom-scan (push) Successful in 32s
Build, Package and Push Images / container-build (push) Successful in 1m15s
Build, Package and Push Images / container-sbom-scan (push) Successful in 30s

This commit is contained in:
Timothy Schenk 2023-11-16 15:02:32 +01:00
parent bdc3b149fe
commit 04f8c5d52c

View file

@ -1,6 +1,11 @@
name: Build, Package and Push Images
run-name: ${{ gitea.actor }} is building the Server application
on: [push]
on:
push:
paths-ignore:
- Wiki/**
- Benchmarks/**
- .run/**
jobs:
preprocess:
@ -25,7 +30,7 @@ jobs:
- name: Build
run: |
dotnet build Server -c Release
# dotnet test Server.Tests -c Release
# dotnet test Server.Tests -c Release
sonarqube:
needs: build
@ -53,8 +58,8 @@ jobs:
- name: Sonarqube Scan
run: |
dotnet build Server -c Release
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
# dotnet test --collect "Code Coverage" --logger trx --results-directory "TestsResults"
# dotnet-coverage collect 'dotnet test' -f xml -o 'coverage.xml'
- name: Sonarqube End
run: |
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
@ -101,8 +106,8 @@ jobs:
uses: https://github.com/actions/setup-dotnet@v3
with:
dotnet-version: 8.0
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx