Skip to content

chore(ci): bump golangci/golangci-lint-action from 5.0.0 to 6.0.1 (#2… #2024

chore(ci): bump golangci/golangci-lint-action from 5.0.0 to 6.0.1 (#2…

chore(ci): bump golangci/golangci-lint-action from 5.0.0 to 6.0.1 (#2… #2024

name: "CodeQL"
on:
merge_group:
push:
branches:
- main
pull_request:
branches:
- "**"
schedule:
- cron: "39 12 * * 1"
permissions:
contents: read # for actions/checkout to fetch code
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read # for github/codeql-action to list actions
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action to report security issues
strategy:
fail-fast: false
matrix:
language: ["go"]
steps:
- name: Checkout repository
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
with:
languages: ${{ matrix.language }}
- name: Setup Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: 1.22.x
- name: Autobuild
uses: github/codeql-action/autobuild@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@eb055d739abdc2e8de2e5f4ba1a8b246daa779aa # v3.26.0