Potential fix for code scanning alert no. 6: Workflow does not contai… #88
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: Build | ||
| on: | ||
| push: | ||
| branches: | ||
| - "**" | ||
| tags: | ||
| - "*" | ||
| permissions: | ||
| checks: write | ||
| pull-requests: write | ||
| jobs: | ||
| validate-version: | ||
|
Check failure on line 15 in .github/workflows/main.yml
|
||
| name: 🧐 Validate Version | ||
| uses: ./.github/workflows/validate-version-job.yml | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
| build: | ||
| name: 🏗️ Build Nuget Package | ||
| uses: ./.github/workflows/build-job.yml | ||
| with: | ||
| dotnet-version: "10.0.x" | ||
| use-local-projects: false | ||
| create-nuget-package: true | ||
| build-against-sources: | ||
| name: 🏗️ Build Against Sources | ||
| uses: ./.github/workflows/build-job.yml | ||
| with: | ||
| dotnet-version: "10.0.x" | ||
| use-local-projects: true | ||
| create-nuget-package: false | ||
| test: | ||
| name: ✅ Run Tests | ||
| uses: ./.github/workflows/test-job.yml | ||
| needs: [build, build-against-sources] | ||
| with: | ||
| dotnet-version: "10.0.x" | ||
| publish-nuget: | ||
| name: 📦 Publish Nuget Package | ||
| uses: ./.github/workflows/publish-nuget-job.yml | ||
| needs: [test] | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
| with: | ||
| dotnet-version: "10.0.x" | ||
| secrets: inherit | ||