ResoDrive 0.3.1 #38
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install .NET SDK | |
| uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0 | |
| with: | |
| global-json-file: global.json | |
| - name: Restore locked dependencies | |
| run: dotnet restore resodrive.slnx --locked-mode | |
| - name: Test | |
| run: dotnet test resodrive.slnx --configuration Release --no-restore | |
| - name: Publish process smoke output | |
| run: >- | |
| dotnet publish src/ResoDrive.App/ResoDrive.App.csproj | |
| --configuration Release | |
| --no-restore | |
| --runtime win-x64 | |
| --self-contained false | |
| -p:PublishSingleFile=false | |
| --output "${{ runner.temp }}\resodrive-process-smoke" | |
| - name: Process smoke | |
| shell: pwsh | |
| timeout-minutes: 4 | |
| run: >- | |
| ./tests/process-smoke.ps1 | |
| -AppPath "${{ runner.temp }}\resodrive-process-smoke\resodrive.exe" |