Skip to content

ci: Bump actions/checkout from 4.3.1 to 6.0.2 (#26) #22

ci: Bump actions/checkout from 4.3.1 to 6.0.2 (#26)

ci: Bump actions/checkout from 4.3.1 to 6.0.2 (#26) #22

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 0 * * 0' # Weekly on Sundays at midnight UTC
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
actions: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Set up Go
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6
with:
go-version-file: cli/go.mod
cache-dependency-path: cli/go.sum
- name: Initialize CodeQL
uses: github/codeql-action/init@dd677812177e0c29f9c970a6c58d8607ae1bfefd # v4
with:
languages: go
- name: Autobuild
uses: github/codeql-action/autobuild@dd677812177e0c29f9c970a6c58d8607ae1bfefd # v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@dd677812177e0c29f9c970a6c58d8607ae1bfefd # v4
continue-on-error: true
with:
upload: false
- name: Upload SARIF (if Code Scanning enabled)
uses: github/codeql-action/upload-sarif@dd677812177e0c29f9c970a6c58d8607ae1bfefd # v4
continue-on-error: true
with:
sarif_file: ../results