Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

CodeQL

CodeQL #21

name: CodeQL
"on":
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: 56 10 * * 4
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: Configure git for private modules
env:
GOPRIVATE_TOKEN: ${{secrets.TOKEN_VEND_PIPELINE}}
run: |-
go env -w GOPRIVATE=github.com/vend/*
git config --global url."https://${GOPRIVATE_TOKEN}@github.com/vend".insteadOf "https://github.com/vend"
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2