Bump trillian-opensource-ci/db_server from 16eb14a
to 52cef10
in /config/trillian/mysql
#3363
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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Filter paths | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
gocode: | |
- 'pkg/**' | |
- 'cmd/**' | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
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@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11 | |
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@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11 |