This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
Add license headers #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go Test | |
on: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
name: Run tests | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./pg_stream | |
services: | |
dind: | |
image: docker:23.0-rc-dind-rootless | |
ports: | |
- 2375:2375 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.22" | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Run tests | |
run: go test -v ./... |