chore(ci): strengthen Unity and native release gates (#22) #31
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: CodeQL | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| schedule: | |
| - cron: '17 3 * * 1' | |
| permissions: | |
| contents: read | |
| security-events: write | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-dotnet@v6 | |
| with: | |
| global-json-file: global.json | |
| - uses: github/codeql-action/init@v4 | |
| with: | |
| languages: csharp | |
| - uses: github/codeql-action/autobuild@v4 | |
| - uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: /language:csharp | |
| analyze-cpp: | |
| name: Analyze CoreMIDI C++ | |
| runs-on: macos-15 | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - uses: github/codeql-action/init@v4 | |
| with: | |
| languages: c-cpp | |
| build-mode: manual | |
| - name: Build and test the native CoreMIDI plug-in under CodeQL | |
| run: ./scripts/build-coremidi-plugin-macos-arm64.sh | |
| - uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: /language:c-cpp |