Skip to content

ci(test): setup rust cache (#5) #20

ci(test): setup rust cache (#5)

ci(test): setup rust cache (#5) #20

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Setup Surrealdb
run: |
docker run --rm --pull always -d \
-p 5176:8000 \
surrealdb/surrealdb:latest start \
--user root --pass root
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- run: cargo test --verbose --all-features