Actions test
This commit is contained in:
parent
ac1087e820
commit
20794ef2ec
@ -1,9 +1,11 @@
|
|||||||
name: ci
|
name: Rust-build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "main"
|
- "main"
|
||||||
|
pull_request:
|
||||||
|
- "main"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -11,6 +13,11 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Check-out
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: cargo test
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --release
|
run: cargo build --release
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user