Restore SourceDateEpoch in tarball for melange (#1310) #2705
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 | |
security-events: write | |
steps: | |
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- 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@294a9d92911152fe08befb9ec03e240add280cb3 | |
with: | |
languages: go | |
- name: build | |
run: make apko | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@294a9d92911152fe08befb9ec03e240add280cb3 |