Skip to content

Git: CI workflow

Git: CI workflow #3

Workflow file for this run

name: Format, Lint & Build
on:
pull_request:
push:
branches: [main]
jobs:
# fmt:
# name: Format
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# override: true
# components: rustfmt
# - uses: luisnquin/[email protected]
# - name: Format (rustfmt)
# run: make fmt-rust-check
# - name: Format (prettier)
# run: npx prettier --check .
# - name: Format (Nix)
# run: make fmt-nix-check
build:
name: Build `jstz_kernel`
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
target: wasm32-unknown-unknown
- uses: KyleMayes/install-llvm-action@v1
with:
version: 16.0.0
env: true
- name: Build
run: make build