Skip to content

fix(generator): Refactor model file generation (#85) #330

fix(generator): Refactor model file generation (#85)

fix(generator): Refactor model file generation (#85) #330

Workflow file for this run

name: CI
permissions:
contents: read
on:
push:
branches:
- "**"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: "1.25"
- run: go vet ./...
- run: make up
- name: Check generated codes
run: |
go mod tidy
go run tool/modelgen/main.go
go run tool/rdmegen/main.go
make fmt
git diff --exit-code
- run: make testci
- uses: codecov/codecov-action@v6
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: coverage.out