Add CI info, run workflow only on version update.
This commit is contained in:
@@ -4,6 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -31,3 +33,21 @@ jobs:
|
|||||||
- name: Bench (smoke)
|
- name: Bench (smoke)
|
||||||
run: go test -bench=. -run=^$ ./...
|
run: go test -bench=. -run=^$ ./...
|
||||||
|
|
||||||
|
runner-init:
|
||||||
|
name: Runner Init (on release tag)
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Setup Go
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version-file: go.mod
|
||||||
|
check-latest: true
|
||||||
|
- name: Warm module cache
|
||||||
|
run: go mod download
|
||||||
|
- name: Verify build and tests
|
||||||
|
run: |
|
||||||
|
go vet ./...
|
||||||
|
go test -race ./...
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# queue
|
# queue
|
||||||
|
|
||||||
[](https://pkg.go.dev/git.belvedersky.ru/queue)
|
[](https://pkg.go.dev/git.belvedersky.ru/queue)
|
||||||
|
[](https://git.belvedersky.ru/belvedersky/queue/actions)
|
||||||
|
|
||||||
Simple, lightweight, concurrent FIFO queue for Go with optional Dead Letter Queue (DLQ), hooks, rate limiting, and graceful shutdown.
|
Simple, lightweight, concurrent FIFO queue for Go with optional Dead Letter Queue (DLQ), hooks, rate limiting, and graceful shutdown.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user