Skip to content

Commit

Permalink
Merge pull request #55 from ryotarai/ryotarai/go-1.21
Browse files Browse the repository at this point in the history
Upgrade go to v1.21 and golangci-lint to v1.55.2
  • Loading branch information
shioshiota authored Nov 22, 2023
2 parents 87e2795 + 6a61ef9 commit 636bf5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/actions/release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ~1.16
go-version: ~1.21
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ~1.16
go-version: ~1.21
id: go
- name: Get dependencies
run: go mod download
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ~1.16
go-version: ~1.21
id: go
- name: Get dependencies
run: go mod download
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ~1.16
go-version: ~1.21
id: go
- name: Validate GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_dev_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ~1.16
go-version: ~1.21
id: go
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ OUTDIR ?= ./dist
setup:
npm install --prefix=.dev markdown-toc && \
cd $(shell go env GOPATH) && \
go get -u golang.org/x/tools/cmd/goimports && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.27.0 && \
go get -u github.com/elastic/go-licenser
go install golang.org/x/tools/cmd/goimports@latest && \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.55.2 && \
go install github.com/elastic/go-licenser@latest


.PHONY: fmt
Expand Down

0 comments on commit 636bf5d

Please sign in to comment.