name: CI # Dalamud-Plugin-CI: Restore + Manifest-Validation only. # Full build (`dotnet build`) is intentionally OFF in this template because # Dalamud.NET.Sdk needs a local Dalamud installation at /home/runner/.xlcore/dalamud/Hooks/dev/ # which doesn't exist on a fresh CI runner. To enable build-CI on your downstream repo: # - either set up a step that downloads the Dalamud distribution before build, # - or reuse goatcorp's published action for Dalamud-CI, # - or run build only locally and let CI cover lint/manifest-validation. on: push: branches: [main] pull_request: branches: [main] jobs: validate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '9.0.x' - name: Restore (validates csproj + NuGet refs resolve) run: dotnet restore - name: Verify YAML manifest exists run: test -f PluginNameTemplate.yaml || (echo "::error::Manifest yaml missing" && exit 1) - name: Verify repo.json is valid JSON run: jq empty repo.json