mirror of
https://github.com/p4gefau1t/trojan-go.git
synced 2024-04-21 12:21:34 +00:00
CI: refine workflows
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
- master
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "docs"
|
||||
- "docs/**"
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
name: docker-build
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
- master
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'docs'
|
||||
- 'docs/**'
|
||||
name: docker-nightly-build
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -6,6 +6,7 @@ on:
|
||||
- "docs/**"
|
||||
- ".github/workflows/gh-pages.yml"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
|
||||
@@ -10,6 +10,8 @@ on:
|
||||
- ".github/linters/.golangci.yml"
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "**/*.go"
|
||||
- ".github/workflows/linter.yml"
|
||||
|
||||
@@ -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,7 +1,7 @@
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
- "v*.*.*"
|
||||
name: release-build
|
||||
jobs:
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user