Avoid races in system_tests changing config by making the changes atomic #13055
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 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
merge_group: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
schedule: | |
- cron: '18 21 * * 5' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: arbitrator-ci | |
if: github.repository == 'OffchainLabs/nitro' # avoid forks without "Advanced Security" enabled | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v5 | |
with: | |
submodules: recursive | |
- name: Setup CI | |
uses: ./.github/actions/ci-setup | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: go | |
build-mode: manual | |
config-file: ./.github/codeql/codeql-config.yml | |
- name: Build Nitro for CodeQL | |
run: make build | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:go" |