diff --git a/.github/workflows/group-approvals.yml b/.github/workflows/enforce-approvals.yml similarity index 100% rename from .github/workflows/group-approvals.yml rename to .github/workflows/enforce-approvals.yml diff --git a/.github/workflows/go-fmt.yml b/.github/workflows/go-fmt.yml index b7e5e44..fd691ce 100644 --- a/.github/workflows/go-fmt.yml +++ b/.github/workflows/go-fmt.yml @@ -6,7 +6,7 @@ on: - main jobs: - go-famt: + go-fmt: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/go-test.yml b/.github/workflows/go-test.yml index b8cfe18..6911612 100644 --- a/.github/workflows/go-test.yml +++ b/.github/workflows/go-test.yml @@ -6,7 +6,7 @@ on: - main jobs: - test: + go-test: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index ffaca9d..4de2ed7 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,14 @@ An example adapter for tracking OrderFulfilled Event on the OKX marketplace can First, add a new adapter in `cmd/adapter.go`. Second, add adapter to switch case of `cmd/cmd.go`'s function `executeCommand`. Test out the CLI with `go run .` from project root. -### 4. Create a Pull Request +### 4. Add a Test to your Indexer + +Add at least one test case to your project's adapter. For an example, see [here](./adapters/projects/okx/order_fulfilled_test.go). + +### 5. Create a Pull Request Create a pull request (PR) on GitHub to merge your changes into the main branch. Provide a clear description of the changes and the protocol added. -### 5. Review and Merge +### 6. Review and Merge Wait for the PR to be reviewed by the maintainers. Once approved, your changes will be merged, and the protocol info will be added to trailblazers.