🧼 Plugin Maintainability Refactor (#57) #50
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: PlugHub Desktop Validation | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout repository (with LFS) | |
| uses: actions/checkout@v4 | |
| with: | |
| lfs: true | |
| - name: Ensure LFS files are present | |
| run: git lfs pull | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Restore Dependencies | |
| run: dotnet restore | |
| - name: Build Solution | |
| run: dotnet build --configuration Release --no-restore -maxcpucount:1 | |
| - name: Run Tests | |
| run: dotnet test --configuration Release --no-build --verbosity normal |