Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
protochron committed May 7, 2024
1 parent 847cdcd commit 3565e6d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/cloud-hello.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: cloud-hello

on:
pull_request:
merge_group:
workflow_dispatch:
push:
branches:
- main
tags:
- cloud-hello-v*
paths:
- 'cloud-hello/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cargo clippy --no-deps
working-directory: cloud-hello
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
rustup add target wasm32-wasi
cargo build --target wasm32-wasi
working-directory: cloud-hello
3 changes: 2 additions & 1 deletion cloud-hello/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::missing_safety_doc)]
wit_bindgen::generate!();

use axum::{
Expand All @@ -18,7 +19,7 @@ use std::{collections::BTreeMap, io::Write};
use tower_service::Service;
use wasi::http::types::*;
use wasi::logging::logging::*;
use wrpc::keyvalue::{atomics, batch, store};
use wrpc::keyvalue::{atomics, store};

mod helpers;
use helpers::*;
Expand Down

0 comments on commit 3565e6d

Please sign in to comment.