Pull in the auth fix in go-apk (#1145) #2292
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
steps: | |
- uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v3.0.0 | |
with: | |
go-version: '1.21' | |
check-latest: true | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 | |
with: | |
languages: go | |
- name: build | |
run: make apko | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 |