.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 c285fca256
commit 95b076ba99
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 uses: actions/setup-go@v4
with: with:
go-version: 1.21.4 go-version: 1.21.4
check-latest: true
cache: true
if: ${{ matrix.language == 'go' }} if: ${{ matrix.language == 'go' }}
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.