allow model temperature to be nil #1931
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 | |
paths-ignore: | |
- docs/** | |
- tools/** | |
- README.md | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- docs/** | |
- tools/** | |
- README.md | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: actions/setup-go@v5 | |
with: | |
cache: false | |
go-version: "1.23" | |
- name: Validate | |
if: matrix.os == 'ubuntu-22.04' | |
run: make validate | |
- name: Build | |
run: make build | |
- name: Run Tests | |
run: make test |