Add CI info, run workflow only on version update.
All checks were successful
CI / test (push) Successful in 2m42s
CI / Runner Init (on release tag) (push) Has been skipped

This commit is contained in:
Кобелев Андрей Андреевич
2025-10-14 14:09:27 +05:00
parent bac4f05437
commit 4310ceea11
2 changed files with 21 additions and 0 deletions

View File

@@ -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 ./...

View File

@@ -1,6 +1,7 @@
# queue # queue
[![Go Reference](https://pkg.go.dev/badge/git.belvedersky.ru/queue.svg)](https://pkg.go.dev/git.belvedersky.ru/queue) [![Go Reference](https://pkg.go.dev/badge/git.belvedersky.ru/queue.svg)](https://pkg.go.dev/git.belvedersky.ru/queue)
[![CI](https://git.belvedersky.ru/belvedersky/queue/actions/workflows/ci.yml/badge.svg)](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.