chore: Add GPTSCRIPT_HTTP_ENV_PREFIX to specify http env vars to send #1789
This file contains 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 |