This repository was archived by the owner on Dec 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +24
-23
lines changed
Expand file tree Collapse file tree 4 files changed +24
-23
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,21 @@ permissions:
88
99jobs :
1010 goreleaser :
11- # we need ubuntu 20.04 because golines needs
12- # to run on hosts with older glibc versions
13- runs-on : ubuntu-20.04
11+ # using Ubuntu 22.04 should help maximize the
12+ # glibc compatibility since across the board
13+ # without using a too-old-to-support version
14+ # of Ubuntu.
15+ runs-on : ubuntu-22.04
1416 steps :
15- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v5
1618 with :
1719 fetch-depth : 0
1820 - uses : actions/setup-go@v5
1921 with :
20- go-version : " 1.21 "
22+ go-version : " 1.24 "
2123 cache : false
2224 - name : build golines
23- uses : goreleaser/goreleaser-action@v5
25+ uses : goreleaser/goreleaser-action@v6
2426 with :
2527 distribution : goreleaser
2628 version : latest
Original file line number Diff line number Diff line change @@ -8,17 +8,15 @@ permissions:
88jobs :
99 golangci :
1010 name : golines lint
11- # we need ubuntu 20.04 because golines needs
12- # to run on hosts with older glibc versions
13- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-latest
1412 steps :
15- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v5
1614 - uses : actions/setup-go@v5
1715 with :
18- go-version : " 1.21 "
16+ go-version : " 1.24 "
1917 cache : false
2018 - name : run golangci-lint
21- uses : golangci/golangci-lint-action@v3
19+ uses : golangci/golangci-lint-action@v8
2220 with :
2321 version : latest
2422 install-mode : binary
Original file line number Diff line number Diff line change @@ -10,16 +10,18 @@ permissions:
1010
1111jobs :
1212 goreleaser :
13- # we need ubuntu 20.04 because golines needs
14- # to run on hosts with older glibc versions
15- runs-on : ubuntu-20.04
13+ # using Ubuntu 22.04 should help maximize the
14+ # glibc compatibility since across the board
15+ # without using a too-old-to-support version
16+ # of Ubuntu.
17+ runs-on : ubuntu-22.04
1618 steps :
17- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v5
1820 with :
1921 fetch-depth : 0
2022 - uses : actions/setup-go@v5
2123 with :
22- go-version : " 1.21 "
24+ go-version : " 1.24 "
2325 cache : false
2426 - name : release golines
2527 uses : goreleaser/goreleaser-action@v5
Original file line number Diff line number Diff line change 88 fail-fast : false
99 matrix :
1010 os :
11- # we need ubuntu 20.04 because golines needs
12- # to run on hosts with older glibc versions
13- - ubuntu-20.04
11+ - ubuntu-latest
1412 - macos-latest
1513 - windows-latest
1614 go :
17- - " 1.21"
18- - " 1.20"
15+ - " 1.23"
16+ - " 1.24"
17+ - " 1.25"
1918 runs-on : ${{ matrix.os }}
2019 name : golines test (using go ${{ matrix.go }} on ${{ matrix.os }})
2120 steps :
22- - uses : actions/checkout@v4
21+ - uses : actions/checkout@v5
2322 - name : test golines
2423 uses : actions/setup-go@v5
2524 with :
You can’t perform that action at this time.
0 commit comments