Skip to content

Commit

Permalink
try github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinburkesegment committed Mar 6, 2024
1 parent 08fda14 commit 27290fa
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.22.x
- uses: actions/checkout@v4
with:
path: './src/github.com/segmentio/nsq-go'
- run: echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV
- name: Run tests
run: |
docker-compose up -d
go test -race -v ./...
working-directory: './src/github.com/segmentio/nsq-go'

0 comments on commit 27290fa

Please sign in to comment.