Skip to content

fix(deps): update go modules #6

fix(deps): update go modules

fix(deps): update go modules #6

Workflow file for this run

# CodeQL static analysis (Go) on the GitHub mirror -> Security tab. Satisfies OpenSSF
# Scorecard's SAST check. Actions pinned to SHAs; Renovate updates them.
name: codeql
on:
push:
branches: [main, 'ci/**'] # ci/** proves a workflow change green before it lands on main
pull_request:
branches: [main]
schedule:
- cron: '27 3 * * 1' # Mondays 03:27 UTC
workflow_dispatch: # so a run can be kicked off without inventing a commit
permissions: {}
jobs:
analyze:
name: analyze (go)
runs-on: ubuntu-latest
permissions:
security-events: write # upload CodeQL results
contents: read
actions: read
steps:
# Deny egress by default; see ci.yml. uploads.github.com is where the SARIF result goes,
# storage.googleapis.com is where setup-go falls back for a toolchain the runner has
# not cached.
- name: Harden the runner
uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
proxy.golang.org:443
release-assets.githubusercontent.com:443
storage.googleapis.com:443
uploads.github.com:443
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: '1.26.5'
check-latest: false
- name: Initialize CodeQL
uses: github/codeql-action/init@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
languages: go
build-mode: autobuild
- name: Analyze
uses: github/codeql-action/analyze@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
with:
category: "/language:go"