Browse Source

Chore: update workflows

pull/133/head
xjasonlyu 3 years ago
parent
commit
1d229ac859
  1. 3
      .github/workflows/docker.yml
  2. 3
      .github/workflows/go.yml
  3. 12
      .github/workflows/linter.yml
  4. 4
      .github/workflows/release.yml

3
.github/workflows/docker.yml

@ -6,9 +6,6 @@ on:
- 'main'
tags:
- '*'
paths-ignore:
- '**.md'
- 'docs/**'
jobs:

3
.github/workflows/go.yml

@ -6,9 +6,6 @@ on:
- '*'
tags-ignore:
- '*'
paths-ignore:
- '**.md'
- 'docs/**'
pull_request:
jobs:

12
.github/workflows/linter.yml

@ -0,0 +1,12 @@
name: Linter
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
args: --disable-all -E govet -E gofumpt -E megacheck ./...

4
.github/workflows/release.yml

@ -4,10 +4,6 @@ on:
push:
tags:
- '*'
paths-ignore:
- '**.md'
- 'docs/**'
- 'docker/**'
jobs:
build:

Loading…
Cancel
Save