Skip to content

Add CodeQL analysis workflow for security scanning #1

Add CodeQL analysis workflow for security scanning

Add CodeQL analysis workflow for security scanning #1

Workflow file for this run

name: "CodeQL Analysis"
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
security-scan:
name: Run CodeQL Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up CodeQL
uses: github/codeql-action/setup-codeql@v2
with:
languages: 'swift'
- name: Initialize CodeQL database
uses: github/codeql-action/autobuild@v2
- name: Run CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: security