diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index aa9c48a..bbf4909 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.18.3' + go-version: '1.18.4' id: go - name: Check out code into the Go module directory diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34d362b..2f5cb58 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: '1.18.3' + go-version: '1.18.4' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/Dockerfile b/Dockerfile index 1a5f1e2..68533b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GOLANG_DOCKER_TAG=1.18.3-alpine3.15 +ARG GOLANG_DOCKER_TAG=1.18.4-alpine3.15 ARG ALPINE_DOCKER_TAG=3.15 FROM golang:$GOLANG_DOCKER_TAG as builder diff --git a/Makefile b/Makefile index 4228315..7f83422 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOLANG_CI_LINT_VER:=v1.46.2 +GOLANG_CI_LINT_VER:=v1.47.2 OUT_BIN?=${PWD}/bin/gherkingen COVER_PACKAGES=./... VERSION?=${shell git describe --tags} diff --git a/README.md b/README.md index 57bd84e..36a82c6 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,9 @@ gherkingen --help Usage of gherkingen [FEATURE_FILE]: -format string - output format: json, go, raw (default "go") + output format: autodetect, json, go, raw (default "autodetect") + -go-parallel + add parallel mark -help print usage -list @@ -193,6 +195,8 @@ Usage of gherkingen [FEATURE_FILE]: The same calls to the generator always produces the same output -template string template file (default "@/std.struct.v1.go.tmpl") + -version + print version ``` ## Running in docker diff --git a/internal/app/app.feature b/internal/app/app.feature index 1b42b3a..bca561f 100644 --- a/internal/app/app.feature +++ b/internal/app/app.feature @@ -70,3 +70,13 @@ Feature: Application command line tool Examples: | |