detect duplicate id
and section title by update-checks-doc
script
#1123
This file contains hidden or 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: | |
# Every Saturday 6:41 in JST | |
- cron: '41 21 * * 5' | |
workflow_dispatch: | |
# This environment is necessary to avoid the following issue | |
# https://github.com/github/codeql/issues/6321 | |
env: | |
CODEQL_EXTRACTOR_GO_BUILD_TRACING: 'on' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ['go', 'javascript'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: github/codeql-action/init@v3 | |
with: | |
config-file: ./.github/codeql/codeql-config.yaml | |
languages: ${{ matrix.language }} | |
- uses: github/codeql-action/autobuild@v3 | |
if: ${{ matrix.language != 'go' }} | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23' | |
if: ${{ matrix.language == 'go' }} | |
- name: Build Go sources | |
run: | | |
set -x | |
go build -v ./cmd/actionlint | |
GOOS=js GOARCH=wasm go build -v -o ./playground/main.wasm ./playground | |
if: ${{ matrix.language == 'go' }} | |
- uses: github/codeql-action/analyze@v3 |