-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from jkawamoto/hotfix/v0.7.2
Hotfix/v0.7.2
- Loading branch information
Showing
17 changed files
with
201 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.7.1 | ||
current_version = 0.7.2 | ||
commit = True | ||
|
||
[bumpversion:file:README.md] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,27 +10,21 @@ jobs: | |
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ">=1.20" | ||
- name: Install pre-commit | ||
run: pip install pre-commit | ||
- name: Run pre-commit hook | ||
uses: pre-commit/[email protected] | ||
- name: Run tests | ||
run: go test -race -coverprofile=coverage.out -covermode=atomic -v ./... | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
- name: Run lints | ||
run: pre-commit run --all-files | ||
- name: Run golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: latest | ||
windows: | ||
uses: codecov/codecov-action@v4 | ||
test-windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ">=1.20" | ||
- name: Run tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,16 +12,32 @@ jobs: | |
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: ">=1.20" | ||
- name: Run tests | ||
run: go test -v ./... | ||
- uses: goreleaser/goreleaser-action@v4 | ||
- uses: goreleaser/goreleaser-action@v5 | ||
with: | ||
version: latest | ||
args: release --clean | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }} | ||
|
||
merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: develop | ||
- name: Merge the new version into develop | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git fetch --tags origin | ||
git merge ${REF##*/} | ||
git push | ||
env: | ||
REF: ${{ github.event.push.ref }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
// doc.go | ||
// | ||
// Copyright (c) 2018-2023 Junpei Kawamoto | ||
// Copyright (c) 2018-2024 Junpei Kawamoto | ||
// | ||
// This software is released under the MIT License. | ||
// | ||
// http://opensource.org/licenses/mit-license.php | ||
|
||
// Package pixeldrain provides a Pixeldrain client. | ||
// | ||
//go:generate go run github.com/go-swagger/go-swagger/cmd/[email protected].4 generate client -f ./openapi.yaml -t . | ||
//go:generate go run github.com/go-swagger/go-swagger/cmd/[email protected].5 generate client -f ./openapi.yaml -t . | ||
package pixeldrain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,57 @@ | ||
module github.com/jkawamoto/go-pixeldrain | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
toolchain go1.22.1 | ||
|
||
require ( | ||
filippo.io/age v1.1.1 | ||
github.com/AlecAivazis/survey/v2 v2.3.6 | ||
github.com/cheggaaa/pb/v3 v3.1.2 | ||
github.com/go-openapi/errors v0.20.3 | ||
github.com/go-openapi/runtime v0.25.0 | ||
github.com/go-openapi/strfmt v0.21.7 | ||
github.com/go-openapi/swag v0.22.3 | ||
github.com/go-openapi/validate v0.22.1 | ||
github.com/AlecAivazis/survey/v2 v2.3.7 | ||
github.com/cheggaaa/pb/v3 v3.1.5 | ||
github.com/go-openapi/errors v0.22.0 | ||
github.com/go-openapi/runtime v0.28.0 | ||
github.com/go-openapi/strfmt v0.23.0 | ||
github.com/go-openapi/swag v0.23.0 | ||
github.com/go-openapi/validate v0.24.0 | ||
github.com/golang/mock v1.6.0 | ||
github.com/urfave/cli/v2 v2.25.1 | ||
github.com/urfave/cli/v2 v2.27.1 | ||
) | ||
|
||
require ( | ||
filippo.io/edwards25519 v1.0.0 // indirect | ||
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/VividCortex/ewma v1.2.0 // indirect | ||
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect | ||
github.com/fatih/color v1.15.0 // indirect | ||
github.com/go-logr/logr v1.2.4 // indirect | ||
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect | ||
github.com/fatih/color v1.16.0 // indirect | ||
github.com/go-logr/logr v1.4.1 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/go-openapi/analysis v0.21.4 // indirect | ||
github.com/go-openapi/jsonpointer v0.19.6 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/loads v0.21.2 // indirect | ||
github.com/go-openapi/spec v0.20.8 // indirect | ||
github.com/go-openapi/analysis v0.23.0 // indirect | ||
github.com/go-openapi/jsonpointer v0.21.0 // indirect | ||
github.com/go-openapi/jsonreference v0.21.0 // indirect | ||
github.com/go-openapi/loads v0.22.0 // indirect | ||
github.com/go-openapi/spec v0.21.0 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.18 // indirect | ||
github.com/mattn/go-runewidth v0.0.14 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mattn/go-runewidth v0.0.15 // indirect | ||
github.com/mgutz/ansi v0.0.0-20200706080929-d51e80ef957d // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/oklog/ulid v1.3.1 // indirect | ||
github.com/opentracing/opentracing-go v1.2.0 // indirect | ||
github.com/rivo/uniseg v0.4.4 // indirect | ||
github.com/rivo/uniseg v0.4.7 // indirect | ||
github.com/russross/blackfriday/v2 v2.1.0 // indirect | ||
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect | ||
go.mongodb.org/mongo-driver v1.11.4 // indirect | ||
go.opentelemetry.io/otel v1.14.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.14.0 // indirect | ||
golang.org/x/crypto v0.8.0 // indirect | ||
golang.org/x/sys v0.7.0 // indirect | ||
golang.org/x/term v0.7.0 // indirect | ||
golang.org/x/text v0.9.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 // indirect | ||
go.mongodb.org/mongo-driver v1.14.0 // indirect | ||
go.opentelemetry.io/otel v1.25.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.25.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.25.0 // indirect | ||
golang.org/x/crypto v0.22.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/term v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.