From e9133367d77718c1af328e1d587016a513508d37 Mon Sep 17 00:00:00 2001 From: Dale Hui Date: Sun, 24 Mar 2024 22:34:00 -0700 Subject: [PATCH] Drop support for Go 1.20 and add support for Go 1.22 --- .github/workflows/ci.yaml | 6 +++--- Dockerfile | 2 +- README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fbde0204f..eea094fdf 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v5 with: - go-version: "1.21.x" + go-version: "1.22.x" - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ["1.20.x", "1.21.x"] + go: ["1.21.x", "1.22.x"] steps: - uses: actions/checkout@v4 @@ -68,7 +68,7 @@ jobs: ruby-version: 2.7 - uses: actions/setup-go@v5 with: - go-version: "1.21.x" + go-version: "1.22.x" - uses: docker/setup-qemu-action@v3 - uses: docker/setup-buildx-action@v3 diff --git a/Dockerfile b/Dockerfile index 779cbcab2..9f4265339 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine3.19 AS builder +FROM golang:1.22-alpine3.19 AS builder ARG VERSION RUN apk add --no-cache git gcc musl-dev make diff --git a/README.md b/README.md index e672a2b51..975348685 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Coverage Status](https://img.shields.io/coveralls/github/golang-migrate/migrate/master.svg)](https://coveralls.io/github/golang-migrate/migrate?branch=master) [![packagecloud.io](https://img.shields.io/badge/deb-packagecloud.io-844fec.svg)](https://packagecloud.io/golang-migrate/migrate?filter=debs) [![Docker Pulls](https://img.shields.io/docker/pulls/migrate/migrate.svg)](https://hub.docker.com/r/migrate/migrate/) -![Supported Go Versions](https://img.shields.io/badge/Go-1.20%2C%201.21-lightgrey.svg) +![Supported Go Versions](https://img.shields.io/badge/Go-1.21%2C%201.22-lightgrey.svg) [![GitHub Release](https://img.shields.io/github/release/golang-migrate/migrate.svg)](https://github.com/golang-migrate/migrate/releases) [![Go Report Card](https://goreportcard.com/badge/github.com/golang-migrate/migrate/v4)](https://goreportcard.com/report/github.com/golang-migrate/migrate/v4)