From 3c19dab0a7d8437a4024e6960ede71d3468af675 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Thu, 24 Aug 2023 14:11:32 -0700 Subject: [PATCH] .github: add tests to CI --- .github/workflows/test-sqlite.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test-sqlite.yml diff --git a/.github/workflows/test-sqlite.yml b/.github/workflows/test-sqlite.yml new file mode 100644 index 0000000..3de2824 --- /dev/null +++ b/.github/workflows/test-sqlite.yml @@ -0,0 +1,24 @@ +name: test-sqlite + +on: + push: + branches: [ main ] + pull_request: + types: [opened, reopened, synchronize] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.21' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...