codeql #32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2023 Dimitri Koshkin. All rights reserved. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: codeql | |
on: | |
schedule: | |
- cron: '32 21 * * 2' | |
workflow_dispatch: | |
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@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Install tools via asdf | |
uses: asdf-vm/actions/[email protected] | |
with: | |
asdf_branch: v0.11.2 | |
- name: Build | |
run: make build-snapshot | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |