Skip to content

[Go & Cpp] Validate schema when opening a space #88

[Go & Cpp] Validate schema when opening a space

[Go & Cpp] Validate schema when opening a space #88

Workflow file for this run

name: Go CI
on:
push:
paths:
- '!cpp/**'
- 'go/**'
pull_request:
paths:
- '!cpp/**'
- 'go/**'
jobs:
test:
name: 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.19
- name: Install dependencies
run: cd go && go mod download
- name: Setup minio
run: |
docker run -d -p 9000:9000 --name minio \
-e "MINIO_ACCESS_KEY=minioadmin" \
-e "MINIO_SECRET_KEY=minioadmin" \
-v /tmp/data:/data \
-v /tmp/config:/root/.minio \
minio/minio server /data
- name: Run tests
run: cd go && go test -v ./...