-
-
Notifications
You must be signed in to change notification settings - Fork 107
30 lines (28 loc) · 659 Bytes
/
Copy pathci.yml
File metadata and controls
30 lines (28 loc) · 659 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main]
paths-ignore:
- sdk/**
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install Dependencies
run: go get .
- name: Check Format
run: test -z "$(gofmt -l . | tee /dev/stderr)"
- name: Lint
run: go vet
- name: Build
run: go build --tags "fts5" -v ./...
- name: Test
run: STREMTHRU_ENV=test go test --tags "fts5" -v ./...