Skip to content

Update go to 1.23.2 and golangci-lint #2763

Update go to 1.23.2 and golangci-lint

Update go to 1.23.2 and golangci-lint #2763

Workflow file for this run

name: CodeQL
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: true
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v3.0.0
with:
go-version-file: 'go.mod'
check-latest: true
- name: Initialize CodeQL
uses: github/codeql-action/init@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea
with:
languages: go
- name: build
run: make apko
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea