1
1
mirror of https://github.com/wader/fq.git synced 2024-09-11 12:05:39 +03:00

bump: Cleanup config, add config for release.yml

This commit is contained in:
Mattias Wadman 2021-10-05 12:18:47 +02:00
parent b641c77216
commit 71e87e6ff2
5 changed files with 14 additions and 12 deletions

View File

@ -6,7 +6,6 @@ on:
- "master"
pull_request:
# bump: ci-golangci-lint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
env:
GOLANGCILINT_VERSION: 1.42.1
@ -23,7 +22,6 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
# bump: ci-golang /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1
go-version: 1.17.1
- name: Lint
uses: golangci/golangci-lint-action@v2

View File

@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v*'
- "v*"
permissions:
contents: write
@ -19,7 +19,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17.0
go-version: 1.17.1
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v2
with:

View File

@ -1,4 +1,8 @@
Dockerfile
Makefile
go.mod
github-golangci-lint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
github-go-version /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1
.github/workflows/ci.yml
.github/workflows/release.yml

View File

@ -1,4 +1,4 @@
# bump: golang /FROM golang:([\d.]+)/ docker:golang|^1
# bump: docker-golang /FROM golang:([\d.]+)/ docker:golang|^1
FROM golang:1.17.1-bullseye AS base
# expect is used to test cli
@ -10,7 +10,7 @@ RUN \
# docker build --target dev -t fq-dev - < Dockerfile && docker run --rm -ti -v "$PWD:/$PWD" -w "$PWD" fq-dev
FROM base AS dev
# bump: golangci-lint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
# bump: docker-golangci-lint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
ARG GOLANGCILINT_VERSION=1.42.1
RUN \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \

12
go.mod
View File

@ -3,11 +3,11 @@ module github.com/wader/fq
go 1.17
require (
// bump: mapstructure /github.com\/mitchellh\/mapstructure v(.*)/ git://github.com/mitchellh/mapstructure|^1
// bump: mapstructure command go get -d github.com/mitchellh/mapstructure@v$LATEST && go mod tidy
// bump: gomod-mapstructure /github.com\/mitchellh\/mapstructure v(.*)/ git://github.com/mitchellh/mapstructure|^1
// bump: gomod-mapstructure command go get -d github.com/mitchellh/mapstructure@v$LATEST && go mod tidy
github.com/mitchellh/mapstructure v1.4.2
// bump: go-difflib /github.com\/pmezard\/go-difflib v(.*)/ git://github.com/pmezard/go-difflib|^1
// bump: go-difflib command go get -d github.com/pmezard/go-difflib@v$LATEST && go mod tidy
// bump: gomod-go-difflib /github.com\/pmezard\/go-difflib v(.*)/ git://github.com/pmezard/go-difflib|^1
// bump: gomod-go-difflib command go get -d github.com/pmezard/go-difflib@v$LATEST && go mod tidy
github.com/pmezard/go-difflib v1.0.0
// fork of github.com/itchyny/gojq, see github.com/wader/gojq fq branch
@ -15,8 +15,8 @@ require (
// fork of github.com/chzyer/readline, see github.com/wader/readline fq branch
github.com/wader/readline v0.0.0-20210920124728-5a81f7707bac
// bump: golang/text /golang\.org\/x\/text v(.*)/ git://github.com/golang/text|^0
// bump: golang/text command go get -d golang.org/x/text@v$LATEST && go mod tidy
// bump: gomod-golang/text /golang\.org\/x\/text v(.*)/ git://github.com/golang/text|^0
// bump: gomod-golang/text command go get -d golang.org/x/text@v$LATEST && go mod tidy
golang.org/x/text v0.3.7
)