Skip to content

Commit

Permalink
Merge pull request #3 from Yinebeb-01/Yinebeb-01-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
isrugeek authored Mar 21, 2024
2 parents 1202db9 + e27fc82 commit 58fbdd2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
go-version: '1.20'

- name: Test
run: go test -v ./...
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
echo "API_KEY: $API_KEY" > config.yaml
go test -v ./...
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Unofficial Golang SDK for Chapa ET API
go get github.com/Yinebeb-01/chapa-go
```

###### API_KEY
Add your `API_KEY: CHASECK_xxxxxxxxxxxxxxxx` inside `config.yaml` file.
If you want to run the githb action on your forked repository, you have to create a secrete key named `API_KEY`.

##### 2. Setup

```go
Expand Down

0 comments on commit 58fbdd2

Please sign in to comment.