Skip to content

Commit

Permalink
Merge pull request #10 from tkuchiki/update-release-workflow-and-fix-…
Browse files Browse the repository at this point in the history
…go-mod

Update release workflow and fix go.mod (1.21.0 -> 1.20)
  • Loading branch information
tkuchiki committed Oct 25, 2023
2 parents a30d93a + c6acf33 commit 0d56058
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
with:
fetch-depth: 1
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.18
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module github.com/tkuchiki/slp

go 1.21.0

require (
github.com/antonmedv/expr v1.9.0
github.com/google/go-cmp v0.5.9
Expand All @@ -11,7 +9,7 @@ require (
github.com/pingcap/tidb/parser v0.0.0-20231013125129-93a834a6bf8d
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.17.0
github.com/tkuchiki/go-pg-slowlog v0.1.1
github.com/tkuchiki/go-pg-slowlog v0.1.2
gopkg.in/yaml.v2 v2.4.0
)

Expand Down Expand Up @@ -48,3 +46,5 @@ require (
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.21
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=
github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU=
github.com/tkuchiki/go-pg-slowlog v0.1.1 h1:Yv4Lgzq+P5kc/Bv0aQyuzhMMg5GnfSic0I2GnMuU5fY=
github.com/tkuchiki/go-pg-slowlog v0.1.1/go.mod h1:H8GdYy79/wrb3iSEXEciXf/5HLfeqaI+0Sxgl7kVeq0=
github.com/tkuchiki/go-pg-slowlog v0.1.2 h1:XsO83yh4UeShys6+/n9/RKnwzJrubXRe97WWNzaSrvM=
github.com/tkuchiki/go-pg-slowlog v0.1.2/go.mod h1:bothnXtsT5qB3p8uwEgzG2++BpxrPqrs6bAUA7VPDzs=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down

0 comments on commit 0d56058

Please sign in to comment.