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