This GitHub Action sets up the defect binary in your workflow.
Note
This action only supports Linux x86_64 platform for now.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup defect
uses: DiscreteTom/[email protected]
with:
version: "0.3.2" # specify the latest defect version
- name: Using the defect binary
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
defect "hello"