From f966f01dd37c19240ebbcd8082bd5c68e7b582f3 Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Sat, 10 Jan 2026 23:53:05 +0100 Subject: [PATCH] Fix CI workflow for integration tests - Remove unused services block that caused CI failure (Gitea runner doesn't support --name/-p in options field) - Update build tag to modern //go:build syntax (Go 1.17+) The workflow already manually installs and starts NATS with JetStream, making the services block redundant. Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/ci.yaml | 6 ------ store/jetstream_integration_test.go | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index f31ca4d..3de5c10 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -20,12 +20,6 @@ jobs: integration: runs-on: ubuntu-latest - services: - nats: - image: nats:latest - options: --name nats -p 4222:4222 - # Enable JetStream via command line args - # Note: The 'args' field may not be supported in all CI runners steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/store/jetstream_integration_test.go b/store/jetstream_integration_test.go index 7d0c826..9ee641d 100644 --- a/store/jetstream_integration_test.go +++ b/store/jetstream_integration_test.go @@ -1,4 +1,4 @@ -// +build integration +//go:build integration package store