Skip to content

ci: add build action #1

ci: add build action

ci: add build action #1

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: actions/setup-node@v4
with:
cache: yarn
- name: Cache WASI VFS
id: cache-wasi-vfs
uses: actions/cache@v4
with:
path: /usr/local/bin/wasi-vfs
key: ${{ runner.os }}-wasi-vfs
- name: Install wasi-vfs
if: steps.cache-wasi-vfs.outputs.cache-hit != 'true'
run: |
curl -LO "https://github.com/kateinoigakukun/wasi-vfs/releases/download/v0.5.2/wasi-vfs-cli-x86_64-unknown-linux-gnu.zip"
unzip wasi-vfs-cli-x86_64-unknown-linux-gnu.zip
mv wasi-vfs /usr/local/bin/wasi-vfs