Merge pull request #11145 from cli/kw/fix-step-order-in-codeql-workflow

Fix step order for CodeQL workflow
This commit is contained in:
William Martin 2025-06-17 17:03:43 +02:00 committed by GitHub
commit d9d0e14e85
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,6 +27,12 @@ jobs:
- name: Check out code
uses: actions/checkout@v4
- name: Setup Go
if: matrix.language == 'go'
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
@ -37,12 +43,6 @@ jobs:
- 'third-party/**'
- 'third-party-licenses.*.md'
- name: Setup Go
if: matrix.language == 'go'
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with: