Skip to content

CodeQL

CodeQL #25

Workflow file for this run

name: 'CodeQL'
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '16 20 * * 5'
jobs:
analyze:
name: Analyze
runs-on: macos-latest
timeout-minutes: 360
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Swift
uses: swift-actions/setup-swift@v1
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: swift
- name: Build
run: swift build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:swift'