Skip to content

Commit

Permalink
Update codeql.yml
Browse files Browse the repository at this point in the history
swift version 5.10 via matrix, change runner back to our private one
  • Loading branch information
escii authored Jul 15, 2024
1 parent 51c862c commit 231ef6e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.

runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
#runs-on: [ self-hosted, macos ]
#runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: [ self-hosted, macos ]

#timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
timeout-minutes: 120
Expand All @@ -50,6 +50,8 @@ jobs:
strategy:
fail-fast: false
matrix:
swift: ["5.10"]
os: [macos-latest]
include:
- language: swift
#build-mode: autobuild
Expand All @@ -66,11 +68,6 @@ jobs:
#uses: actions/checkout@v4
uses: actions/[email protected]

- name: Set up Swift 5.10
uses: swift-actions/setup-swift@v2
with:
swift-version: '5.10'

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
#uses: github/codeql-action/init@v3
Expand Down

0 comments on commit 231ef6e

Please sign in to comment.