Skip to content

Merge pull request #155 from lazybytez/feature/drop-codecov #671

Merge pull request #155 from lazybytez/feature/drop-codecov

Merge pull request #155 from lazybytez/feature/drop-codecov #671

# CodeQL is a workflow which is used for
# code scanning and security checking
name: "CodeQL"
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 0 * * 0'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# Attempts to build language.
# If this fails, we need to remove autobuild and build manually with a shell script
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3