Skip to content

Commit 1af841d

Browse files
authored
Merge pull request #1260 from dhui/update_go
Update supported Go versions and README
2 parents 146bfa0 + 7269490 commit 1af841d

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: actions/setup-go@v5
1414
with:
15-
go-version: "1.23.x"
15+
go-version: "1.24.x"
1616
- name: golangci-lint
1717
uses: golangci/golangci-lint-action@v6
1818
with:
19-
version: v1.63.4
19+
version: v1.64.8
2020

2121
test:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
go: ["1.22.x", "1.23.x"]
25+
go: ["1.23.x", "1.24.x"]
2626
steps:
2727
- uses: actions/checkout@v4
2828

@@ -68,7 +68,7 @@ jobs:
6868
ruby-version: 2.7
6969
- uses: actions/setup-go@v5
7070
with:
71-
go-version: "1.23.x"
71+
go-version: "1.24.x"
7272

7373
- uses: docker/setup-qemu-action@v3
7474
- uses: docker/setup-buildx-action@v3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23-alpine3.20 AS builder
1+
FROM golang:1.24-alpine3.21 AS builder
22
ARG VERSION
33

44
RUN apk add --no-cache git gcc musl-dev make
@@ -15,7 +15,7 @@ COPY . ./
1515

1616
RUN make build-docker
1717

18-
FROM alpine:3.20
18+
FROM alpine:3.21
1919

2020
RUN apk add --no-cache ca-certificates
2121

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![Coverage Status](https://img.shields.io/coveralls/github/golang-migrate/migrate/master.svg)](https://coveralls.io/github/golang-migrate/migrate?branch=master)
44
[![packagecloud.io](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/golang-migrate/migrate?filter=debs)
55
[![Docker Pulls](https://img.shields.io/docker/pulls/migrate/migrate.svg)](https://hub.docker.com/r/migrate/migrate/)
6-
![Supported Go Versions](https://img.shields.io/badge/Go-1.22%2C%201.23-lightgrey.svg)
6+
![Supported Go Versions](https://img.shields.io/badge/Go-1.23%2C%201.24-lightgrey.svg)
77
[![GitHub Release](https://img.shields.io/github/release/golang-migrate/migrate.svg)](https://github.com/golang-migrate/migrate/releases)
88
[![Go Report Card](https://goreportcard.com/badge/github.com/golang-migrate/migrate/v4)](https://goreportcard.com/report/github.com/golang-migrate/migrate/v4)
99

@@ -87,7 +87,7 @@ Source drivers read migrations from local or remote sources. [Add a new source?]
8787
* Handles ctrl+c (SIGINT) gracefully.
8888
* No config search paths, no config files, no magic ENV var injections.
8989

90-
__[CLI Documentation](cmd/migrate)__
90+
[CLI Documentation](cmd/migrate) (includes CLI install instructions)
9191

9292
### Basic usage
9393

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/golang-migrate/migrate/v4
22

3-
go 1.22.0
4-
5-
toolchain go1.23.1
3+
go 1.23.0
64

75
require (
86
cloud.google.com/go/spanner v1.56.0

0 commit comments

Comments
 (0)