From a007a5a8a486689dbcd7639a87c7860c16228d47 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 21 Nov 2023 00:56:37 +0200 Subject: [PATCH] .github/workflows/codeql-analysis.yml: remove `check-latest` and `cache` inputs for `actions/setup-go` - The `cache: true` is no longer needed starting from actions/setup-go@v4 - see https://github.com/actions/setup-go#v4 - The `check-latest: true` may slow down the action, so it is better to disalbe it - see https://github.com/actions/setup-go#check-latest-version --- .github/workflows/codeql-analysis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 20152ba97..d7fb656a4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -58,8 +58,6 @@ jobs: uses: actions/setup-go@v4 with: go-version: 1.21.4 - check-latest: true - cache: true if: ${{ matrix.language == 'go' }} # Initializes the CodeQL tools for scanning.