Skip to content

Commit

Permalink
supports Go 1.21 and later
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Aug 29, 2024
1 parent a60d0e7 commit e7276d8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 43 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ jobs:
strategy:
matrix:
go:
- "1.20"
- "1.21"
- "1.22"
- "1.23"
name: Build
runs-on: ubuntu-latest

Expand All @@ -23,15 +24,17 @@ jobs:
- 4566:4566

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
cache-dependency-path: go.sum
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Build & Test
run: |
echo $PATH
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/manual.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.23"
check-latest: true

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/fujiwara/lambroll

go 1.20
go 1.21

require (
github.com/Songmu/prompter v0.5.1
Expand Down

0 comments on commit e7276d8

Please sign in to comment.