Skip to content

Parse PKGINFO once and reuse parsed structure everywhere (#2002) #4392

Parse PKGINFO once and reuse parsed structure everywhere (#2002)

Parse PKGINFO once and reuse parsed structure everywhere (#2002) #4392

Workflow file for this run

name: CodeQL
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CODEQL_EXTRACTOR_GO_BUILD_TRACING: true
permissions: {}
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: 'go.mod'
check-latest: true
- name: Initialize CodeQL
uses: github/codeql-action/init@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
with:
languages: go
- name: build
run: make apko
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10