removed unnecessary interface impls from db, tx #215
Workflow file for this run
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: | |
push: | |
branches: | |
- "**" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: "1.22" | |
- run: make up | |
- name: Check generated codes | |
run: | | |
go install | |
go run tool/modelgen/main.go | |
go run tool/rdmegen/main.go | |
make fmt | |
git diff --exit-code | |
- run: make test | |
- uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: coverage.out |