Skip to content

codeql

codeql #63

# Copyright 2022 D2iQ, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: codeql
on:
schedule:
- cron: '32 21 * * 2'
jobs:
analyze:
name: 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
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Install tools via asdf
uses: asdf-vm/actions/setup@master
- name: Build
run: make build-snapshot
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1