Skip to content

Commit

Permalink
docs: add checkout step to each run (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielloader authored Jul 9, 2024
1 parent d0befaa commit 6c2de92
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
name: Run test
runs-on: ubuntu-latest
steps:
- uses: openfga/[email protected]
- uses: actions/checkout@v4
- uses: openfga/[email protected]
```
### Running tests of `*.fga.yaml` files present in a given folder
Expand All @@ -47,7 +48,8 @@ jobs:
name: Run test
runs-on: ubuntu-latest
steps:
- uses: openfga/[email protected]
- uses: actions/checkout@v4
- uses: openfga/[email protected]
with:
test_path: example
```
Expand All @@ -65,7 +67,7 @@ jobs:
name: Run test
runs-on: ubuntu-latest
steps:
- uses: openfga/[email protected]
- uses: openfga/[email protected].1
with:
test_path: example/model.fga.yaml
```
Expand Down Expand Up @@ -96,6 +98,7 @@ jobs:
OPENFGA_DATASTORE_URI: 'postgres://openfga:[email protected]:5432/openfga'
OPENFGA_LOG_LEVEL: debug
steps:
- uses: actions/checkout@v4
- name: Install OpenFGA server v1.5.3
uses: jaxxstorm/[email protected]
with:
Expand Down

0 comments on commit 6c2de92

Please sign in to comment.