Skip to content

Commit a3b8716

Browse files
committed
Add README
1 parent fae895a commit a3b8716

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
11
# setup-typedb
2-
GitHub Action for running TypeDB
2+
3+
GitHub Action for installing and running TypeDB
4+
5+
## Arguments
6+
7+
| Argument | Description | Default | Value |
8+
|--------------------|----------------------------------------|---------|-----------------------------------------------------------------------------------------------|
9+
| `typedb_version` | The version of TypeDB to use | latest | A TypeDB version (e.g. `3.5.0`) or `latest` |
10+
| `typedb_grpc_port` | TypeDB's port for gRPC connections | 1729 | Valid port number |
11+
| `typedb_http_port` | TypeDB's port for HTTP connections | 8000 | Valid port number |
12+
| `typedb_args` | Additional arguments to pass to TypeDB | | TypeDB CLI arguments - see https://typedb.com/docs/maintenance-operation/typedb-configuration |
13+
14+
## Example
15+
16+
```yaml
17+
name: TypeDB CI
18+
19+
on: [push, pull_request]
20+
21+
jobs:
22+
test:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Git checkout
26+
uses: actions/checkout@v2
27+
- name: Run TypeDB
28+
uses: typedb/setup-typedb@v1
29+
with:
30+
typedb_version: 3.5.1
31+
```
32+
33+
## Licensing
34+
35+
Released under the Mozilla Public License 2.0 (MPL 2.0).
36+
For license information, please see [LICENSE](https://github.com/typedb/setup-typedb/blob/master/LICENSE).

0 commit comments

Comments
 (0)