Bump trillian-opensource-ci/db_server from 9e4e428
to da12b99
in /config/trillian/mysql
#3617
Workflow file for this run
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 | |
schedule: | |
- cron: '32 8 * * 2' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: | |
- 'go' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Filter paths | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
gocode: | |
- 'pkg/**' | |
- 'cmd/**' | |
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version-file: 'go.mod' | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
if: steps.changes.outputs.gocode == 'true' | |
uses: github/codeql-action/init@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1 | |
with: | |
languages: '${{ matrix.language }}' | |
- name: Build | |
if: steps.changes.outputs.gocode == 'true' | |
run: | | |
make build | |
- name: Perform CodeQL Analysis | |
if: steps.changes.outputs.gocode == 'true' | |
uses: github/codeql-action/analyze@b6a472f63d85b9c78a3ac5e89422239fc15e9b3c # v3.28.1 |