initial commit
All checks were successful
Publish Docker Images / coverage-and-sonar (push) Successful in 9m47s

This commit is contained in:
2026-02-05 16:25:14 +01:00
commit 3258355d2f
22 changed files with 1613 additions and 0 deletions

59
.github/workflows/action.yml vendored Normal file
View File

@@ -0,0 +1,59 @@
name: Publish Docker Images
on:
push:
branches:
- main
- develop
tags:
- 'v*.*.*'
pull_request:
types: [opened, synchronize, reopened]
jobs:
coverage-and-sonar:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Nix
uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Format Check
run: |
nix develop --no-pure-eval --accept-flake-config --command just format-check
- name: Audit
run: |
nix develop --no-pure-eval --accept-flake-config --command just audit
- name: Build
run: |
nix develop --no-pure-eval --accept-flake-config --command just build-release
- name: Tests
run: |
nix develop --no-pure-eval --accept-flake-config --command just test
- name: Coverage
run: |
nix develop --no-pure-eval --accept-flake-config --command just coverage-ci
- name: Lint
run: |
nix develop --no-pure-eval --accept-flake-config --command just lint-report
- name: Sonar analysis
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}