File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 strategy :
2525 matrix :
2626 kubernetes_version :
27- - v1.27.3
28- - v1.28.0
27+ - v1.35.0
28+ - v1.34.3
2929 steps :
3030 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3131 - name : Checkout repo
@@ -36,11 +36,11 @@ jobs:
3636 with :
3737 version : ${{ matrix.kubernetes_version }}
3838
39- # Creates KinD with using k8s versions from the matrix above
40- - name : Set up kind with K8s version v1.22.4
39+ # Creates kind using the Kubernetes versions from the matrix above
40+ - name : Set up kind cluster
4141 uses : engineerd/setup-kind@v0.5.0
4242 with :
43- version : " v0.20 .0"
43+ version : " v0.31 .0"
4444 image : kindest/node:${{ matrix.kubernetes_version }}
4545
4646 - name : Testing kind cluster set-up
5353 - name : Set up Go
5454 uses : actions/setup-go@v5
5555 with :
56- go-version : " 1.24 "
57-
56+ go-version : " 1.25 "
57+
5858 - name : Build devspacehelper
5959 run : |
6060 mkdir -p ~/.devspace/devspacehelper/latest
Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ jobs:
1717 name : lint
1818 runs-on : ubuntu-latest
1919 steps :
20+ - uses : actions/checkout@v4
2021 - uses : actions/setup-go@v5
2122 with :
22- go-version : " 1.22"
23- - uses : actions/checkout@v3
23+ go-version : " 1.25"
2424 - name : Run golangci-lint
25- uses : golangci/golangci-lint-action@v3.2.0
25+ uses : golangci/golangci-lint-action@v7
2626 with :
27+ version : v2.11.4
28+ only-new-issues : true
2729 args :
2830 -v
2931 --config=.golangci.yml
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ jobs:
1212 linux :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v1
16- - uses : actions/setup-node@v1
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-node@v4
1717 with :
18- node-version : 12
18+ node-version : 20
1919 registry-url : https://registry.npmjs.org/
2020 - run : |
2121 npm install -g
@@ -35,10 +35,10 @@ jobs:
3535 windows :
3636 runs-on : windows-2019
3737 steps :
38- - uses : actions/checkout@v1
39- - uses : actions/setup-node@v1
38+ - uses : actions/checkout@v4
39+ - uses : actions/setup-node@v4
4040 with :
41- node-version : 12
41+ node-version : 20
4242 registry-url : https://registry.npmjs.org/
4343 - run : |
4444 npm install -g
Original file line number Diff line number Diff line change 6161 - name : Set up Go
6262 uses : actions/setup-go@v5
6363 with :
64- go-version : " 1.22 "
64+ go-version : " 1.25 "
6565 - id : get_version
6666 run : |
6767 RELEASE_VERSION=$(echo $GITHUB_REF | sed -nE 's!refs/tags/!!p')
Original file line number Diff line number Diff line change 2929 - name : Set up Go
3030 uses : actions/setup-go@v5
3131 with :
32- go-version : " 1.24 "
32+ go-version : " 1.25 "
3333
3434 - name : Check out code into the Go module directory
3535 uses : actions/checkout@v1
@@ -40,12 +40,12 @@ jobs:
4040 test-unit-windows :
4141 runs-on : windows-latest
4242 name : unit-test-windows-latest
43-
43+
4444 steps :
4545 - name : Set up Go
4646 uses : actions/setup-go@v5
4747 with :
48- go-version : " 1.24 "
48+ go-version : " 1.25 "
4949
5050 - name : Check out code into the Go module directory
5151 uses : actions/checkout@v1
Original file line number Diff line number Diff line change 1+ version : " 2"
2+
13run :
24 timeout : 10m
35
4- issues :
5- exclude-dirs :
6- - hack/
7- - docs/
8-
96linters :
10- disable-all : true
7+ default : none
118 enable :
129 # - deadcode # deprecated https://github.com/golangci/golangci-lint/issues/1841
13- - gosimple
1410 - govet
1511 - ineffassign
1612 - misspell
1713 - unused
1814 # - varcheck # deprecated https://github.com/golangci/golangci-lint/issues/1841
19- - staticcheck
15+ - staticcheck # includes gosimple and stylecheck in v2
2016 - errcheck
2117 # - goimports
2218 - dupl
2319 - nakedret
24- - stylecheck
2520 # - gofmt
2621 # - golint
2722 # - structcheck # deprecated https://github.com/golangci/golangci-lint/issues/1841
28-
29- linters-settings :
30- gofmt :
31- simplify : true
32- dupl :
33- threshold : 400
23+ settings :
24+ dupl :
25+ threshold : 400
26+ exclusions :
27+ paths :
28+ - hack/
29+ - docs/
30+ - assets/assets.go
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 11module github.com/loft-sh/devspace
22
3- go 1.24
3+ go 1.25
44
5- toolchain go1.24.4
5+ toolchain go1.25.9
66
77require (
88 github.com/AlecAivazis/survey/v2 v2.3.2
You can’t perform that action at this time.
0 commit comments