mirror of
				https://github.com/maxgoedjen/secretive.git
				synced 2025-10-31 15:30:57 +00:00 
			
		
		
		
	* Update macOS version in GitHub Actions workflow * Update macOS version in release workflow * Update macOS version for nightly workflow * Fix runner OS for Swift in CodeQL workflow
		
			
				
	
	
		
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			48 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: "CodeQL Advanced"
 | |
| 
 | |
| on:
 | |
|   push:
 | |
|     branches: [ "main" ]
 | |
|   pull_request:
 | |
|     branches: [ "main" ]
 | |
|   schedule:
 | |
|     - cron: '26 15 * * 3'
 | |
| 
 | |
| jobs:
 | |
|   analyze:
 | |
|     name: Analyze (${{ matrix.language }})
 | |
|     runs-on: ${{ (matrix.language == 'swift' && 'macos-26') || 'ubuntu-latest' }}
 | |
|     permissions:
 | |
|       security-events: write
 | |
|       packages: read
 | |
|       actions: read
 | |
|       contents: read
 | |
| 
 | |
|     strategy:
 | |
|       fail-fast: false
 | |
|       matrix:
 | |
|         include:
 | |
|         - language: actions
 | |
|           build-mode: none
 | |
|         # Disable this until CodeQL supports Xcode 26 builds.
 | |
|         # - language: swift
 | |
|         #   build-mode: manual
 | |
|     steps:
 | |
|     - name: Checkout repository
 | |
|       uses: actions/checkout@v4
 | |
|     - name: Initialize CodeQL
 | |
|       uses: github/codeql-action/init@v3
 | |
|       with:
 | |
|         languages: ${{ matrix.language }}
 | |
|         build-mode: ${{ matrix.build-mode }}
 | |
|     - if: matrix.build-mode == 'manual'
 | |
|       name: "Select Xcode"
 | |
|       run: sudo xcrun xcode-select -s /Applications/Xcode_26.0.app
 | |
|     - if: matrix.build-mode == 'manual'
 | |
|       name: "Build"
 | |
|       run: xcrun xcodebuild -project Sources/Secretive.xcodeproj -scheme Secretive CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
 | |
|     - name: Perform CodeQL Analysis
 | |
|       uses: github/codeql-action/analyze@v3
 | |
|       with:
 | |
|         category: "/language:${{matrix.language}}"
 |