diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a00884e..2c0dcca 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,12 +3,12 @@ name: CodeQL on: push: paths-ignore: - - '**.md' + - "**.md" pull_request: paths-ignore: - - '**.md' + - "**.md" schedule: - - cron: '0 5 * * 6' + - cron: "0 5 * * 6" jobs: analyze: @@ -26,7 +26,11 @@ jobs: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. fetch-depth: 2 - + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.22.x" + cache: false # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 @@ -48,4 +52,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 \ No newline at end of file + uses: github/codeql-action/analyze@v3