Skip to content

Commit

Permalink
πŸ”Ž code analisys
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeFTN committed Dec 26, 2022
1 parent 1449eba commit 37358af
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "CodeQL"

on:
push:
branches: [ "v2" ]
pull_request:
branches: [ "v2" ]
schedule:
- cron: '00 12 * * 0-6'

jobs:
analyze:
name: Analyze
runs-on: ${{ matrix.os }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
language: [ 'cpp' ]

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Makefile
run: make

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

0 comments on commit 37358af

Please sign in to comment.