Add ability to specify query params for post requests with chat compl… #8
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: Cargo build | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| cargo-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build | |
| run: | | |
| cd openai_dive | |
| cargo build --verbose | |
| cargo-build-without-default-features: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build | |
| run: | | |
| cd openai_dive | |
| cargo build --verbose --no-default-features | |
| cargo-build-without-default-features-with-reqwest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build | |
| run: | | |
| cd openai_dive | |
| cargo build --verbose --no-default-features --features reqwest | |
| cargo-build-without-default-features-with-reqwest-on-wasm32: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install wasm32 target | |
| run: rustup target add wasm32-unknown-unknown | |
| - name: Build | |
| run: | | |
| cd openai_dive | |
| cargo build --verbose --target wasm32-unknown-unknown --no-default-features --features reqwest |