/setup-defect

Sets up the defect binary in your workflow

MIT LicenseMIT

Setup Defect

license release

This GitHub Action sets up the defect binary in your workflow.

Note

This action only supports Linux x86_64 platform for now.

Usage

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Setup defect
        uses: DiscreteTom/setup-defect@v0.1.1
        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"