Repository navigation
Update Flare to 0.41.0 #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-test: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v6 | |
| with: | |
| global-json-file: global.json | |
| - name: Restore | |
| run: dotnet restore Merito.slnx | |
| - name: Build (Release) | |
| run: dotnet build Merito.slnx -c Release --no-restore | |
| - name: Test | |
| run: dotnet test --solution Merito.slnx -c Release --no-build --report-trx | |
| - name: Upload test results | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: test-results | |
| path: '**/*.trx' | |
| if-no-files-found: ignore | |
| docker: | |
| name: Docker image builds | |
| runs-on: ubuntu-latest | |
| needs: build-test | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Build image | |
| run: docker build -f src/Merito.Server/Dockerfile -t merito:ci . |