Compare commits

...

5 Commits

5 changed files with 31 additions and 18 deletions

View File

@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.18" go-version: "1.19"
check-latest: true check-latest: true
cache: true cache: true
- run: go test -race -failfast ./... - run: go test -race -failfast .
build: build:
name: Build name: Build
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
@ -30,29 +30,20 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.18" go-version: "1.19"
check-latest: true check-latest: true
cache: true cache: true
- run: go build - run: go build
try-4-real:
name: try 4 real
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.18"
check-latest: true
cache: true
- run: make test-color
golangci-lint: golangci-lint:
name: golangci-lint name: golangci-lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.18" go-version: "1.19"
check-latest: true check-latest: true
cache: true cache: true
- uses: golangci/golangci-lint-action@v3 - uses: golangci/golangci-lint-action@v3

View File

@ -17,7 +17,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-go@v3 - uses: actions/setup-go@v3
with: with:
go-version: "1.18" go-version: "1.19"
check-latest: true check-latest: true
cache: true cache: true
- uses: goreleaser/goreleaser-action@v2 - uses: goreleaser/goreleaser-action@v2

5
.gitignore vendored
View File

@ -1,6 +1,9 @@
# macOS # macOS
.DS_Store .DS_Store
# Windows
*.exe
# IntelliJ # IntelliJ
.idea/ .idea/
@ -9,4 +12,4 @@
# Go # Go
coverage.out coverage.out
coverage.html vendor

View File

@ -17,4 +17,5 @@ archives:
- goos: windows - goos: windows
format: zip format: zip
changelog: changelog:
skip: true skip: false
use: github

View File

@ -1,5 +1,23 @@
# CHANGELOG # CHANGELOG
## v0.11.0 (2022-08-13)
### Fixed
- fix: fix goroutine leak (2022-08-13)
### Others
- chore: update gitignore (2022-08-13)
- chore: bump go 1.19 in github action (2022-08-13)
- chore: goreleaser gen changelog for github (2022-08-13)
- chore: add example (2022-08-13)
- chore(changelog): generate v0.10.0 (2022-07-23)
## v0.10.0 (2022-07-23) ## v0.10.0 (2022-07-23)
### Added ### Added