From 50e4a4ad15c9f87d4600f24d1c1c17d7a6050928 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Tue, 17 Jun 2025 08:41:14 -0600 Subject: [PATCH] Fix step order for CodeQL workflow --- .github/workflows/codeql.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 37bbb0607..06d9bc81f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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: