We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97fa033 commit c28ed41Copy full SHA for c28ed41
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,23 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ - name: Set up Go
15
+ uses: actions/setup-go@v5
16
+ with:
17
+ go-version: '1.21'
18
+ - name: Start Redis and Postgres
19
+ run: docker compose up -d redis postgres
20
+ - name: Build
21
+ run: mkdir -p bin && go build -o ./bin/bansho ./cmd/bansho
22
+ - name: Test
23
+ run: go test ./...
0 commit comments