Bump Markdig from 1.3.0 to 1.3.2 #345
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| build-test-pack: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| dotnet-version: 10.0.x | |
| - name: Restore | |
| run: dotnet restore MarpToPptx.slnx | |
| - name: Build | |
| run: dotnet build MarpToPptx.slnx --configuration Release --no-restore | |
| - name: Test | |
| run: dotnet test --solution MarpToPptx.slnx --configuration Release --no-build | |
| - name: Pack CLI Tool | |
| run: dotnet pack src/MarpToPptx.Cli/MarpToPptx.Cli.csproj --configuration Release --no-build | |
| - name: Upload Tool Package | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: marp2pptx-nupkg | |
| path: artifacts/nupkg/*.nupkg | |
| if-no-files-found: error | |
| smoke-test: | |
| needs: build-test-pack | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| global-json-file: global.json | |
| dotnet-version: 10.0.x | |
| - name: Restore | |
| run: dotnet restore MarpToPptx.slnx | |
| - name: Run PPTX Smoke Test | |
| shell: pwsh | |
| run: | | |
| ./scripts/Invoke-AllPptxSmokeTests.ps1 -Configuration Release -CiSafe -ContrastAuditMode Selected | |
| - name: Run Remote Asset Smoke Test | |
| if: github.event_name == 'push' | |
| shell: pwsh | |
| run: | | |
| ./scripts/Invoke-AllPptxSmokeTests.ps1 ` | |
| -Configuration Release ` | |
| -CiSafe ` | |
| -ContrastAuditMode Selected ` | |
| -OnlyRemoteSamples | |
| - name: Upload Smoke Test Artifacts | |
| if: always() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: marp2pptx-smoke-test-artifacts | |
| path: artifacts/smoke-tests/* | |
| if-no-files-found: warn |