add GPT-5 model constants and reasoning validation #2073
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: Sanity check | |
on: | |
- push | |
- pull_request | |
jobs: | |
prcheck: | |
name: Sanity check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.24' | |
- name: Run vet | |
run: | | |
go vet -stdversion ./... | |
- name: Run golangci-lint | |
uses: golangci/golangci-lint-action@v7 | |
with: | |
version: v2.1.5 | |
- name: Run tests | |
run: go test -race -covermode=atomic -coverprofile=coverage.out -v ./... | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |