name: pr-test-build on: pull_request: permissions: contents: read jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Refresh models catalog run: curl -fsSL https://raw.githubusercontent.com/router-for-me/models/refs/heads/main/models.json -o internal/registry/models/models.json - name: Set up Go uses: actions/setup-go@v5 with: go-version-file: go.mod cache: true - name: Build run: | go build -o test-output ./cmd/server rm -f test-output