Skip to content

Commit

Permalink
chore: upgrade dependencies (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
hedhyw authored Dec 29, 2024
1 parent be6fd62 commit ee0945a
Show file tree
Hide file tree
Showing 42 changed files with 1,030 additions and 667 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.4'
go-version: '1.23.4'
id: go

- name: Check out code into the Go module directory
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.4'
go-version: '1.23.4'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist
version: '~> v2'
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

Expand Down
3 changes: 1 addition & 2 deletions .golangci.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"varnamelen",
"testpackage",
"exhaustive",
"gomnd",
"thelper",
"paralleltest",
"tagliatelle",
Expand All @@ -23,7 +22,7 @@
"rowserrcheck",
"depguard",
"mnd",
"execinquery"
"exportloopref"
]
},
"linters-settings": {
Expand Down
42 changes: 21 additions & 21 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
build:
binary: gherkingen
main: ./cmd/gherkingen
goos:
- windows
- darwin
- linux
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
ignore:
- goos: darwin
goarch: "386"
env:
- CGO_ENABLED=0
builds:
- binary: gherkingen
main: ./cmd/gherkingen
goos:
- windows
- darwin
- linux
goarch:
- "386"
- amd64
- arm
- arm64
goarm:
- "6"
ignore:
- goos: darwin
goarch: "386"
env:
- CGO_ENABLED=0

gomod:
proxy: true
Expand All @@ -34,7 +34,7 @@ release:
draft: true

snapshot:
name_template: "{{.Tag}}"
version_template: "{{.Tag}}"

checksum:
name_template: "task_checksums.txt"
Expand All @@ -55,7 +55,7 @@ brews:
description: BDD tests boilerplate generator for Golang
license: MIT
homepage: https://github.com/hedhyw/gherkingen
tap:
repository:
owner: hedhyw
name: homebrew-gherkingen
test: system "#{bin}/gherkingen", "-help"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG GOLANG_DOCKER_TAG=1.22.4-alpine3.19
ARG ALPINE_DOCKER_TAG=3.19
ARG GOLANG_DOCKER_TAG=1.23.4-alpine3.21
ARG ALPINE_DOCKER_TAG=3.21

FROM golang:$GOLANG_DOCKER_TAG as builder

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GOLANG_CI_LINT_VER:=v1.59.1
GOLANG_CI_LINT_VER:=v1.62.2
OUT_BIN?=${PWD}/bin/gherkingen
COVER_PACKAGES=./...
VERSION?=${shell git describe --tags}
Expand Down
4 changes: 2 additions & 2 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strings"
"time"

gherkin "github.com/cucumber/gherkin/go/v28"
gherkin "github.com/cucumber/gherkin/go/v30"
"github.com/google/uuid"

"github.com/hedhyw/gherkingen/v4/internal/model"
Expand Down
2 changes: 1 addition & 1 deletion internal/app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"bytes"
"testing"

gherkin "github.com/cucumber/gherkin/go/v28"
gherkin "github.com/cucumber/gherkin/go/v30"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

Expand Down
2 changes: 1 addition & 1 deletion internal/app/language.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"slices"
"strings"

gherkin "github.com/cucumber/gherkin/go/v28"
gherkin "github.com/cucumber/gherkin/go/v30"
"github.com/hedhyw/semerr/pkg/v1/semerr"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"context"
"fmt"

gherkin "github.com/cucumber/gherkin/go/v28"
gherkin "github.com/cucumber/gherkin/go/v30"
"github.com/hedhyw/semerr/pkg/v1/semerr"

"github.com/hedhyw/gherkingen/v4/internal/docplugin"
Expand Down
Loading

0 comments on commit ee0945a

Please sign in to comment.