Skip to content

Reworked / Improved Setup-Surreal Github action #1

Reworked / Improved Setup-Surreal Github action

Reworked / Improved Setup-Surreal Github action #1

Workflow file for this run

name: CI
on:
workflow_dispatch:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
surrealdb-setup:
runs-on: ubuntu-latest
strategy:
matrix:
surrealdb_version: ["v1.5.5", "v2.0.4", "latest"]
name: Run Action
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Action
uses: ./
with:
surrealdb_version: ${{ matrix.surrealdb_version }}
surrealdb_port: "8000"
surrealdb_username: "root"
surrealdb_password: "root"
surrealdb_strict: true
surrealdb_log: "trace"
- name: Retrieve SurrealDB version
run: curl http://127.0.0.1:8000/version
continue-on-error: true