fix(deps): update module github.com/defenseunicorns/uds-security-hub to v0.2.0 #2713
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
# Copyright 2024 Defense Unicorns | |
# SPDX-License-Identifier: AGPL-3.0-or-later OR LicenseRef-Defense-Unicorns-Commercial | |
name: Analyze CodeQL | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.png" | |
- "**.gif" | |
- "**.svg" | |
- "adr/**" | |
- "docs/**" | |
- "CODEOWNERS" | |
- "goreleaser.yml" | |
schedule: | |
- cron: "32 2 * * 5" | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["go"] | |
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | |
steps: | |
- name: Checkout | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Setup golang | |
uses: ./.github/actions/golang | |
- name: Install UDS CLI | |
uses: ./.github/actions/install-uds-cli | |
- name: Build UDS CLI | |
run: uds run build-cli-linux-amd | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 | |
env: | |
CODEQL_EXTRACTOR_GO_BUILD_TRACING: on | |
with: | |
languages: ${{ matrix.language }} | |
config-file: ./.github/codeql.yaml | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 | |
with: | |
category: "/language:${{matrix.language}}" |