feat: resolve #143 #544
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: CI | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize, ready_for_review] | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Install dependencies | |
run: go mod tidy | |
- name: dockerUp | |
run: sudo make docker-test-up | |
- name: Test | |
run: make test | |
- name: dockerDown | |
run: sudo make docker-test-down | |
- name: Lint | |
run: make lint |