https://github.com/discretetom/setup-defect
Sets up the defect binary in your workflow
https://github.com/discretetom/setup-defect
Last synced: 5 months ago
JSON representation
Sets up the defect binary in your workflow
- Host: GitHub
- URL: https://github.com/discretetom/setup-defect
- Owner: DiscreteTom
- License: mit
- Created: 2025-03-15T10:21:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-15T11:23:59.000Z (about 1 year ago)
- Last Synced: 2025-03-15T11:25:12.913Z (about 1 year ago)
- Homepage: https://github.com/marketplace/actions/setup-defect
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup Defect

[](https://github.com/DiscreteTom/setup-defect/releases/latest)
This GitHub Action sets up the [defect](https://github.com/DiscreteTom/defect) binary in your workflow.
> [!NOTE]
> This action only supports Linux x86_64 platform for now.
## Usage
```yaml
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"
```
## [CHANGELOG](./CHANGELOG.md)