Bump dotnet-sdk from 10.0.102 to 10.0.103 #219
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: test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - "**.cs" | |
| - "**.csproj" | |
| - "**.props" | |
| - "global.json" | |
| - ".github/workflows/test.yml" | |
| workflow_dispatch: | |
| jobs: | |
| unit-test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 | |
| with: | |
| global-json-file: ./global.json | |
| - name: Test | |
| run: dotnet test --project tests/UnitTests -c Release | |
| integration-test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-15-intel] | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 | |
| with: | |
| global-json-file: ./global.json | |
| - name: Download FFmpeg binaries | |
| run: dotnet run --project src/FFmpegDownloader -c Release ${{ github.workspace }}/ffmpeg | |
| - name: Test | |
| run: dotnet test --project tests/IntegrationTests -c Release | |
| env: | |
| FFMPEG_PATH: ${{ github.workspace }}/ffmpeg | |
| e2e-test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-15-intel] | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # v5.1.0 | |
| with: | |
| global-json-file: ./global.json | |
| - name: Download FFmpeg binaries | |
| run: dotnet run --project src/FFmpegDownloader -c Release ${{ github.workspace }}/ffmpeg | |
| - name: Test | |
| run: dotnet test --project tests/E2ETests -c Release | |
| env: | |
| FFMPEG_PATH: ${{ github.workspace }}/ffmpeg | |
| TESTFILE_URL: ${{ vars.TESTFILE_URL }} |