Skip to content

Commit

Permalink
Add CodeQL analysis workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Ytemiloluwa committed Dec 13, 2024
1 parent e4805e7 commit e06ce5f
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/CodeQL-Analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "CodeQL Analysis"
name: CodeQL Analysis

on:
push:
branches:
Expand All @@ -8,23 +9,18 @@ on:
- main

jobs:
security-scan:
name: Run CodeQL Analysis
analyze:
name: Analyze CodeQL
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up CodeQL
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: 'swift'

- name: Autobuild
uses: github/codeql-action/autobuild@v2
languages: swift

- name: Run CodeQL Analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: security

0 comments on commit e06ce5f

Please sign in to comment.