Bump trillian-opensource-ci/db_server from 97d822e
to 128cd27
in /config/trillian/mysql
#3418
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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.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@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 | |
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@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 |