An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Setup Defect

![license](https://img.shields.io/github/license/DiscreteTom/setup-defect?style=flat-square)
[![release](https://img.shields.io/github/v/release/DiscreteTom/setup-defect?style=flat-square)](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)