This commit is contained in:
parent
b2ae852f0b
commit
c580bb7e9f
2 changed files with 24 additions and 21 deletions
|
@ -1,5 +1,3 @@
|
||||||
name: ludo-go-pipeline
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
include: [ main ]
|
include: [ main ]
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
fn main() {
|
use warp::Filter;
|
||||||
println!("Hello, world!");
|
|
||||||
|
#[tokio::main]
|
||||||
|
async fn main() {
|
||||||
|
let root = warp::path::end().map(|| "hello world");
|
||||||
|
|
||||||
|
warp::serve(root).run(([127, 0, 0, 1], 5000)).await;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue