mirror of
https://github.com/xjasonlyu/tun2socks.git
synced 2024-12-30 02:37:01 +00:00
Improve(actions): add concurrency groups (#289)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
name: Publish Docker Image
|
||||
|
||||
concurrency:
|
||||
group: docker-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
name: Linter
|
||||
|
||||
concurrency:
|
||||
group: linter-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
name: Publish Go Releases
|
||||
|
||||
concurrency:
|
||||
group: release-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user