bug: fix incorrect UserScore model field #27
Workflow file for this run
This file contains 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 | |
jobs: | |
unit-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
dotnet-version: ['3.0', '3.1.x', '5.0.x' ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the stack | |
run: docker compose up -d | |
- name: Check the deployed service health | |
uses: jtalk/url-health-check-action@v2 | |
with: | |
# Check the following URLs one by one sequentially | |
url: http://127.0.0.1:8088/metrics | |
# Fail this action after this many failed attempts | |
max-attempts: 5 | |
# Delay between retries | |
retry-delay: 5s | |
# Retry all errors, including 404. This option might trigger curl upgrade. | |
retry-all: true | |
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }} | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Test | |
run: dotnet test --no-restore --verbosity normal |