Bump Golang version to 1.24 (#4226)
* chore(go): bump golang version to 1.24 * chore(tests): bump golang versions for running tests under ci * chore(ci): bump golangci-lint version * chore(go): add golangci-lint to tools list * chore(go): add gofumpt to tools list * fix(ci): fix golang-ci version definition
This commit is contained in:
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
go-version: '1.24'
|
||||
cache: true
|
||||
|
||||
- name: Install Google Chrome
|
||||
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
go-version: '1.24'
|
||||
cache: true
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
|
||||
@@ -28,11 +28,12 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22'
|
||||
go-version: '1.24'
|
||||
cache: true
|
||||
- uses: actions/checkout@v4
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.64.5
|
||||
only-new-issues: true
|
||||
args: --timeout=3m
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.21.x, 1.22.x]
|
||||
go-version: [1.23.x, 1.24.x]
|
||||
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
if: steps.changed-files-yaml.outputs.src_any_changed == 'true'
|
||||
with:
|
||||
go-version: '1.22'
|
||||
go-version: '1.24'
|
||||
cache: true
|
||||
|
||||
- name: Cache node modules
|
||||
|
||||
Reference in New Issue
Block a user