CI: refine workflows

This commit is contained in:
loyalsoldier
2021-05-21 03:35:45 +08:00
parent c9fe6aaa52
commit fe648995fe
6 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
on:
push:
branches:
- "master"
- master
paths-ignore:
- "**.md"
- "docs"
- "docs/**"
tags:
- "v*.*.*"
name: docker-build
+2 -2
View File
@@ -1,10 +1,10 @@
on:
push:
branches:
- "master"
- master
paths-ignore:
- '**.md'
- 'docs'
- 'docs/**'
name: docker-nightly-build
jobs:
build:
+1
View File
@@ -6,6 +6,7 @@ on:
- "docs/**"
- ".github/workflows/gh-pages.yml"
pull_request:
types: [opened, synchronize, reopened]
branches:
- master
paths:
+2
View File
@@ -10,6 +10,8 @@ on:
- ".github/linters/.golangci.yml"
pull_request:
types: [opened, synchronize, reopened]
branches:
- master
paths:
- "**/*.go"
- ".github/workflows/linter.yml"
+5 -1
View File
@@ -2,12 +2,16 @@ on:
push:
branches:
- master
paths-ignore:
- "**.md"
- "docs/**"
pull_request:
types: [opened, synchronize, reopened]
branches:
- master
paths-ignore:
- "**.md"
- "docs"
- "docs/**"
name: nightly-build
jobs:
build:
+1 -1
View File
@@ -1,7 +1,7 @@
on:
push:
tags:
- "v*"
- "v*.*.*"
name: release-build
jobs:
build: