Skip to content

chore(ci): bump actions/setup-go from 6 to 7 #203

chore(ci): bump actions/setup-go from 6 to 7

chore(ci): bump actions/setup-go from 6 to 7 #203

Workflow file for this run

name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
# Weekly run catches advisories that GitHub's CodeQL bundle
# ships between PR-driven scans.
- cron: "37 6 * * 1"
permissions:
contents: read
security-events: write # upload SARIF to the Security tab
actions: read
jobs:
analyze:
name: analyze go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: "1.25"
cache: true
- name: initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: go
build-mode: autobuild
queries: security-extended
- name: analyze
uses: github/codeql-action/analyze@v4
with:
category: "/language:go"