Skip to content

fix(redis): install redis with pkgx instead of flox #6

fix(redis): install redis with pkgx instead of flox

fix(redis): install redis with pkgx instead of flox #6

Workflow file for this run

name: ci
on:
push:
branches:
- main
paths:
- redis/**
- .github/workflows/redis.yml
jobs:
redis-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: rust
args: |
target_add wasm32-unknown-unknown
build --release --target wasm32-unknown-unknown
working-directory: redis
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Start Redis
run: |
fluentci run target/wasm32-unknown-unknown/release/redis.wasm start
fluentci run target/wasm32-unknown-unknown/release/redis.wasm stop redis
working-directory: redis
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NIX_CONFIG: extra-access-tokens = github.com=${{ secrets.GH_ACCESS_TOKEN }}