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 <noreply@anthropic.com>
This commit is contained in:
@@ -20,12 +20,6 @@ jobs:
|
|||||||
|
|
||||||
integration:
|
integration:
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// +build integration
|
//go:build integration
|
||||||
|
|
||||||
package store
|
package store
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user