fix(scripting): apply step params in place instead of rebuilding from display text #286
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 Builds | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| pull_request: | |
| jobs: | |
| release: | |
| name: CI Build | |
| # Hung runners (notably macOS) otherwise run to GitHub's 360-minute cap; | |
| # builds finish in ~1-3 min, so 15 kills a hang fast with wide margin. | |
| timeout-minutes: 15 | |
| strategy: | |
| matrix: | |
| kind: ['linux', 'windows', 'macOS'] | |
| include: | |
| - kind: linux | |
| os: ubuntu-latest | |
| target: linux-x64 | |
| - kind: windows | |
| os: windows-latest | |
| target: win-x64 | |
| - kind: macOS | |
| os: macos-latest | |
| target: osx-x64 | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Setup dotnet | |
| uses: actions/setup-dotnet@v5.4.0 | |
| - name: Restore | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build --no-restore | |
| - name: Test | |
| run: dotnet test --no-build --verbosity normal --logger trx --collect:"XPlat Code Coverage" | |
| - name: Merge coverage reports | |
| if: ${{ always() && matrix.os == 'ubuntu-latest' }} | |
| uses: danielpalme/ReportGenerator-GitHub-Action@5 | |
| with: | |
| reports: tests/**/coverage.cobertura.xml | |
| targetdir: coverage | |
| reporttypes: Cobertura | |
| - name: Generate test report | |
| uses: bibipkins/dotnet-test-reporter@v1.6.4 | |
| if: ${{ always() && matrix.os == 'ubuntu-latest' }} | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| comment-title: "Test Results" | |
| results-path: tests/**/*.trx | |
| coverage-path: coverage/Cobertura.xml | |
| coverage-type: cobertura | |
| coverage-threshold: 70 | |
| - name: Publish | |
| run: dotnet publish src/SharpFM/SharpFM.csproj --runtime "${{ matrix.target }}" -c Debug |