Skip to content

Commit

Permalink
support 1.21, 1.22, 1.23 and remove 1.19, 1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Lize Cai <[email protected]>
  • Loading branch information
lizzzcai committed Oct 18, 2024
1 parent a92c4a3 commit f8917e1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.23.x
- 1.22.x
- 1.20.x
- 1.19.x
- 1.21.x
os:
- macos
- ubuntu
Expand All @@ -33,9 +33,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.23.x
- 1.22.x
- 1.20.x
- 1.19.x
- 1.21.x
os:
- macos
- ubuntu
Expand Down Expand Up @@ -69,8 +69,9 @@ jobs:
strategy:
matrix:
go-version:
- 1.23.x
- 1.22.x
- 1.20.x
- 1.21.x
os:
- ubuntu

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: 1.22.x
go-version: 1.23.x
- run: make test_without_race
env:
S5CMD_ACCESS_KEY_ID: ${{ secrets.S5CMD_GCS_ACCESS_KEY_ID }}
Expand All @@ -34,7 +34,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
go-version: '1.23'
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-alpine AS build
FROM golang:1.23-alpine AS build
COPY . /s5cmd/
RUN apk add --no-cache git make && \
cd /s5cmd/ && \
Expand Down

0 comments on commit f8917e1

Please sign in to comment.