Add actions script
This commit is contained in:
parent
2ecd31e9fe
commit
e1f4016325
1 changed files with 20 additions and 0 deletions
20
.gitea/workflows/pull_request.yaml
Normal file
20
.gitea/workflows/pull_request.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Midea Merge
|
||||||
|
run_name: Test successful midea build on merge request
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, edited, review_requested, synchronize]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Serial Reader:
|
||||||
|
steps:
|
||||||
|
- uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
|
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: cargo build
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: cargo test
|
||||||
|
|
Loading…
Reference in a new issue