ci: enable ci tests on pushes.
- Secure tests on master branch after merge. - Improve build cache hit rates Due to security reason, github only allow reuse cache from - same branch - base branch - default branch Branch Feature-A could not reuse the cache from Feature-B - Developers could run the workflow in their own forked repo before make the PR, this could relieve the runners on upstream repo
This commit is contained in:
parent
5e01961dba
commit
528817d620
|
@ -6,6 +6,8 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
- e*
|
- e*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: Check Rebar Dependencies
|
name: Check Rebar Dependencies
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_deps_integrity:
|
check_deps_integrity:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
name: Check Elixir Release Applications
|
name: Check Elixir Release Applications
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
elixir_apps_check:
|
elixir_apps_check:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
name: Elixir Dependency Version Check
|
name: Elixir Dependency Version Check
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
elixir_deps_check:
|
elixir_deps_check:
|
||||||
|
|
|
@ -6,6 +6,8 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- e*
|
- e*
|
||||||
- v*
|
- v*
|
||||||
|
|
|
@ -2,6 +2,8 @@ name: Broker tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
|
@ -2,6 +2,8 @@ name: Check emqx app standalone
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
- e*
|
- e*
|
||||||
|
|
|
@ -6,6 +6,8 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
|
@ -6,6 +6,8 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
- e*
|
- e*
|
||||||
|
|
|
@ -6,6 +6,8 @@ concurrency:
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branch:
|
||||||
|
- *
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
- e*
|
- e*
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: Shellcheck
|
name: Shellcheck
|
||||||
|
|
||||||
on: [pull_request]
|
on: [pull_request, push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
|
|
Loading…
Reference in New Issue