.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
This commit is contained in:
Aliaksandr Valialkin 2023-11-21 00:56:37 +02:00
parent f3d47c3dc3
commit a007a5a8a4
No known key found for this signature in database
GPG Key ID: 52C003EE2BCDB9EB

View File

@ -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.