feat: reimagine visitor pattern as callback pattern #38
This file contains hidden or 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: test | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'next' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| test-generated-files: | |
| runs-on: ubuntu-latest | |
| name: "Run basic tests" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '^1.23.0' | |
| - name: Regenerate files | |
| run: go generate ./... | |
| - name: Check git diff | |
| run: ./.github/commands/fail-on-git-diff.sh |