rewrite the data parser to support new beatmap structure #475
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
on: [pull_request] | |
name: Continuous Integration | |
permissions: | |
contents: read | |
jobs: | |
inspect-code: | |
name: Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '9.0.x' | |
- name: Restore Dependencies | |
run: dotnet restore | |
- name: .NET Warnings & Code Style | |
run: dotnet build -c Debug -warnaserror | |
- name: .NET Format | |
run: | | |
dotnet format --severity info --exclude **/Migrations/* --verify-no-changes --verbosity diagnostic | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '9.0.x' | |
- name: Restore Dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Debug -warnaserror -p:EnforceCodeStyleInBuild=true | |
- name: Test | |
run: dotnet test -c Debug --no-build --verbosity normal | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |