GitXplorerGitXplorer
s

setup-surreal

public
13 stars
3 forks
2 issues

Commits

List of commits on branch main.
Verified
7c103070ba4f544240cd287432ba70d6f50163a5

fix: fix workflow when strict mode is disabled (#9)

OOdonno committed 2 months ago
Verified
5fb9173692adec2db5183e514ddad66b9494bf5f

Workflow improvement and fixes (#7)

wwelpie21 committed 3 months ago
Verified
ae275fdbd493272863a099db0bc88531b07401de

Reworked / Improved Setup-Surreal Github action (#6)

wwelpie21 committed 3 months ago
Verified
09fb949fa060f900c5085d517de6eff0fc578847

chore: fixed wrong input argument mapping & added additional arguments support (#3)

wwelpie21 committed 7 months ago
Verified
12a803d0e95ae07e494fa00b297526d2180cb798

Fix: github action fixes (#2)

wwelpie21 committed 8 months ago
Verified
ec7e14916f7ff24c90199a432d4eb5beced7e9bc

Update README.md

ttobiemh committed 8 months ago

README

The README file for this repository.

setup-surreal

Github CI integration for SurrealDB using Github Actions.

Arguments

Here you see an overview of arguments you can use with setup-surreal action. In the column Default you can see the default value of the argument. If you don't provide a value for an argument, the default value will be used. But for those arguments that don't have a default value are optional and are not used unless you provide a value for them.

Argument Description Default Value
surrealdb_version SurrealDB version to use latest latest, v1.x.x, v2.x.x
surrealdb_port Port to run SurrealDB on 8000 Valid number from 0 to 65535
surrealdb_username Username to use for SurrealDB Customisable by the user
surrealdb_password Password to use for SurrealDB Customisable by the user
surrealdb_auth Enable authentication true, false
surrealdb_strict Enable strict mode true, false
surrealdb_log Enable logs none, full, warn, info, debug, trace
surrealdb_additional_args Additional arguments for SurrealDB Any valid SurrealDB CLI arguments
surrealdb_retry_count Amount of availability retries 30 Any valid integer that represent x amount of seconds

Usage

name: SurrealDB CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - name: Git checkout
      uses: actions/checkout@v2
    - name: Start SurrealDB
      uses: surrealdb/setup-surreal@v2
      with:
        surrealdb_version: latest
        surrealdb_port: 8000
        surrealdb_username: root
        surrealdb_password: root
        surrealdb_auth: false
        surrealdb_strict: false
        surrealdb_log: info
        surrealdb_additional_args: --allow-all
        surrealdb_retry_count: 30

License

This GitHub Action is released under the Apache License 2.0.