Skip to content

Bump github/codeql-action from 2.20.1 to 2.20.4 #66

Bump github/codeql-action from 2.20.1 to 2.20.4

Bump github/codeql-action from 2.20.1 to 2.20.4 #66

Workflow file for this run

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '17 4 * * 2'
workflow_dispatch:
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: [self-hosted, public, linux, x64]
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4
with:
go-version: '1.19' # To match codeql go version
- name: Initialize CodeQL
uses: github/codeql-action/init@489225d82a57396c6f426a40e66d461b16b3461d # v2
with:
languages: go
config-file: ./.github/codeql-config.yml
- name: Build
run: go build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@489225d82a57396c6f426a40e66d461b16b3461d # v2