Skip to content

Commit 60c5d2d

Browse files
fix: ci uses go 1.25 and golangci-lint v2
- bubbletea/v2 requires go >= 1.25.0, can't pin to 1.24 - golangci-lint v1.64.8 built with go 1.24, can't lint go 1.25 code - ci: golangci-lint-action@v7 with version ~> v2 - ci: all jobs use go-version 1.25 - release: use go 1.25 - README: go 1.25 badge, flat-square style
1 parent 41a6ffd commit 60c5d2d

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go-version: ["1.23", "1.24"]
17+
go-version: ["1.25"]
1818
steps:
1919
- uses: actions/checkout@v4
2020

@@ -35,11 +35,11 @@ jobs:
3535

3636
- uses: actions/setup-go@v5
3737
with:
38-
go-version: stable
38+
go-version: "1.25"
3939

40-
- uses: golangci/golangci-lint-action@v6
40+
- uses: golangci/golangci-lint-action@v7
4141
with:
42-
version: v1.64.8
42+
version: "~> v2"
4343

4444
test:
4545
runs-on: ubuntu-latest
@@ -48,7 +48,7 @@ jobs:
4848

4949
- uses: actions/setup-go@v5
5050
with:
51-
go-version: stable
51+
go-version: "1.25"
5252

5353
- name: test
5454
run: go test -race -count=1 ./...
@@ -62,7 +62,7 @@ jobs:
6262

6363
- uses: actions/setup-go@v5
6464
with:
65-
go-version: stable
65+
go-version: "1.25"
6666

6767
- uses: goreleaser/goreleaser-action@v6
6868
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-go@v5
2020
with:
21-
go-version: stable
21+
go-version: "1.25"
2222

2323
- name: run goreleaser
2424
uses: goreleaser/goreleaser-action@v6

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# wlocks
22

3-
[![go](https://img.shields.io/badge/go-1.24-00ADD8?style=for-the-badge&logo=go&logoColor=white)](https://go.dev)
3+
[![go](https://img.shields.io/badge/go-1.25-00ADD8?style=for-the-badge&logo=go&logoColor=white)](https://go.dev)
44
[![license](https://img.shields.io/badge/license-MIT-2ecc71?style=for-the-badge)](LICENSE)
55
[![release](https://img.shields.io/github/v/release/programmersd21/wlocks?style=for-the-badge&color=9b59b6)](https://github.com/programmersd21/wlocks/releases)
66
[![ci](https://img.shields.io/github/actions/workflow/status/programmersd21/wlocks/ci.yml?style=for-the-badge&label=ci)](https://github.com/programmersd21/wlocks/actions)
@@ -61,7 +61,7 @@ sudo mv wlocks /usr/local/bin/
6161

6262
### from source
6363

64-
requires go 1.24+
64+
requires go 1.25+
6565

6666
```bash
6767
git clone https://github.com/programmersd21/wlocks.git

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module wlocks
22

3-
go 1.24
3+
go 1.25.0
44

55
require (
66
charm.land/bubbletea/v2 v2.0.8

0 commit comments

Comments
 (0)