Skip to content

Initial code: supporting 'load' and 'diff' commands #24

Initial code: supporting 'load' and 'diff' commands

Initial code: supporting 'load' and 'diff' commands #24

Workflow file for this run

name: Go package
on: [push, pull_request]
env:
MYSQL_DATABASE: test
DB_USER: root
DB_PASSWORD: root
jobs:
ci:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
ports:
- 3306
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: Build
run: make build
- name: Lint
run: make lint
- name: Unit test
run: make test
- name: Start local MySQL
run: sudo /etc/init.d/mysql start
- name: MySQL Test
run: |
export PATH="$PATH:bin"
script/ci-github.sh