Bump dotnet-ef and dotnet-reportgenerator-globaltool #557
Workflow file for this run
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 | |
| permissions: | |
| contents: read | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: '.node-version' | |
| - name: Install npm dependencies for client-side libraries | |
| working-directory: ./src/RazorPagesProject | |
| run: npm install | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| - name: Setup Japanese Font Environment | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| fonts-noto-cjk \ | |
| fonts-noto-cjk-extra \ | |
| fonts-liberation \ | |
| fonts-dejavu-core \ | |
| fontconfig | |
| # フォントキャッシュを更新 | |
| sudo fc-cache -fv | |
| # 利用可能な日本語フォントを確認 | |
| fc-list :lang=ja | head -10 | |
| - name: Build | |
| run: dotnet build | |
| - name: Run unit tests and generate coverage report | |
| working-directory: ./src/PrimeService.Tests | |
| run: dotnet test --collect:"XPlat Code Coverage" --no-build | |
| - name: Run integrations tests | |
| working-directory: ./src/RazorPagesProject.IntegrationTests | |
| run: dotnet test --no-build | |
| - name: Run web app and E2E tests | |
| env: | |
| CI: true | |
| run: | | |
| dotnet run --project ./src/RazorPagesProject/RazorPagesProject.csproj --no-build & | |
| dotnet test ./src/RazorPagesProject.E2ETests | |
| - name: Upload logs | |
| uses: actions/upload-artifact@v5 | |
| if: failure() | |
| with: | |
| name: logs | |
| path: src/RazorPagesProject.E2ETests/bin/Debug/net9.0/logs |