feat: add provider response model mapping and codex openai compatibility #716
Workflow file for this run
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: PR Checks | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '.github/workflows/lint.yml' | |
| - '.node-version' | |
| - 'web/**' | |
| - 'cmd/**' | |
| - 'internal/**' | |
| - 'tests/**' | |
| - 'go.mod' | |
| - 'go.sum' | |
| jobs: | |
| frontend: | |
| name: Frontend Checks | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: '.node-version' | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| package_json_file: web/package.json | |
| - name: Get pnpm store directory | |
| shell: bash | |
| run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('web/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run lint | |
| run: pnpm run lint | |
| - name: Run type check | |
| run: pnpm run typecheck | |
| - name: Run production build | |
| run: pnpm run build | |
| backend: | |
| name: Backend Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run go vet | |
| run: go vet ./cmd/... ./internal/... | |
| - name: Run unit tests | |
| run: go test -count=1 -timeout 600s ./cmd/... ./internal/... | |
| - name: Build backend | |
| run: go build -o /tmp/maxx-ci-build ./cmd/maxx |