mirror of
https://github.com/wader/fq.git
synced 2024-11-22 07:16:49 +03:00
bump: Add action and cleanup names
This commit is contained in:
parent
7ad3d2550c
commit
27ba3592d0
15
.github/workflows/bump.yml
vendored
Normal file
15
.github/workflows/bump.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: 'Automatic version updates'
|
||||
on:
|
||||
schedule:
|
||||
# minute hour dom month dow (UTC)
|
||||
- cron: '0 16 * * *'
|
||||
# enable manual trigger of version updates
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
version_update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: wader/bump/action/go@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BUMP_TOKEN }}
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
- "master"
|
||||
pull_request:
|
||||
|
||||
# bump: workflow-golangcilint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
# bump: ci-golangci-lint /GOLANGCILINT_VERSION: ([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
env:
|
||||
GOLANGCILINT_VERSION: 1.42.0
|
||||
|
||||
@ -21,7 +21,7 @@ jobs:
|
||||
- name: Setup go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
# bump: workflows-golang /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1
|
||||
# bump: ci-golang /go-version: ([\d.]+)/ git:https://github.com/actions/go-versions.git|/(.*)-.*/$1/|^1
|
||||
go-version: 1.17.0
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
|
2
Bumpfile
2
Bumpfile
@ -1,4 +1,4 @@
|
||||
Dockerfile
|
||||
Makefile
|
||||
go.mod
|
||||
.github/workflows/*.yml
|
||||
.github/workflows/ci.yml
|
||||
|
@ -4,7 +4,7 @@ FROM golang:1.17.0 AS base
|
||||
# docker build --target dev -t fq-dev - < Dockerfile && docker run --rm -ti -v "$PWD:/$PWD" -w "$PWD" fq-dev
|
||||
FROM base AS dev
|
||||
|
||||
# bump: golangcilint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
# bump: golangci-lint /GOLANGCILINT_VERSION=([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
ARG GOLANGCILINT_VERSION=1.42.0
|
||||
RUN \
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | \
|
||||
|
2
Makefile
2
Makefile
@ -47,7 +47,7 @@ gogenerate:
|
||||
|
||||
.PHONY: lint
|
||||
lint:
|
||||
# bump: make-golangcilint /golangci-lint@v([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
# bump: make-golangci-lint /golangci-lint@v([\d.]+)/ git:https://github.com/golangci/golangci-lint.git|^1
|
||||
go run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.0 run
|
||||
|
||||
.PHONY: depgraph.svg
|
||||
|
Loading…
Reference in New Issue
Block a user