Skip to content

(feat) add redis mutually exclusive distributed locks #6

(feat) add redis mutually exclusive distributed locks

(feat) add redis mutually exclusive distributed locks #6

Workflow file for this run

name: Build & Test
on:
pull_request:
paths-ignore:
- "docs/**"
- "*.md"
- ".gitignore"
- "CODEOWNERS"
- "LICENSE"
- "Makefile"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: ">=1.21.0"
- name: Install redis server package
run:
- curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg

Check failure on line 23 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Build & Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 23, Col: 11): A sequence was not expected
- sudo chmod 644 /usr/share/keyrings/redis-archive-keyring.gpg
- echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
- sudo apt-get update && sudo apt-get install redis-stack-server
- name: Install dev binaries
run: make install
- name: Build
run: make build
- name: Test
run: ginkgo -label-filter="!e2e" -race ./...