db: increase batch insert size #8
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: Run Go Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.23.1" | |
- name: Install dependencies | |
run: go mod tidy | |
- name: Run go fmt | |
run: go fmt ./... | |
- name: Run tests | |
run: go test ./... | |
- name: Run Build (x86_64) | |
run: env GOOS=linux GOARCH=amd64 go build -o build/srd-tools-linux-amd64 ./cmd/srd/main.go | |
- name: Run Build (ARM 64) | |
run: env GOOS=linux GOARCH=arm64 go build -o build/srd-tools-linux-arm64 ./cmd/srd/main.go | |
- name: Run Build (MacOS Silicon) | |
run: env GOOS=darwin GOARCH=arm64 go build -o build/srd-tools-darwin-arm64 ./cmd/srd/main.go |