Add support for translator-credits
string in localization files
#796
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: | |
# The branches below must be a subset of the branches above | |
branches: [main] | |
schedule: | |
- cron: '34 6 * * 3' | |
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@v4 | |
- name: Install APT dependencies | |
run: | | |
sudo apt-get update && \ | |
sudo apt-get install -y -q gettext libgtk-3-dev | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Initialize Set up Go cache | |
if: ${{ matrix.language == 'go' }} | |
run: | | |
go version | sed 's/^go version /GOVERSION=/' | \ | |
tr ' /' '-' >>$GITHUB_ENV | |
go env GOCACHE | sed 's/^/GOCACHE=/' >>$GITHUB_ENV | |
go env GOMODCACHE | sed 's/^/GOMODCACHE=/' >>$GITHUB_ENV | |
- name: Set up Go cache | |
if: ${{ matrix.language == 'go' }} | |
uses: actions/cache@v3 | |
with: | |
path: | | |
${{ env.GOCACHE }} | |
${{ env.GOMODCACHE }} | |
key: codeql-${{ env.GOVERSION }}-${{ hashFiles('**/go.sum') }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v2 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{ matrix.language }}" |