Add renovate and build action
This commit is contained in:
parent
2f90902bb6
commit
e987dd36d4
3 changed files with 32 additions and 0 deletions
16
.gitea/workflows/pull_request.yaml
Normal file
16
.gitea/workflows/pull_request.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
name: Terrarium Controller Merge Build
|
||||
run_name: Test successful terrarium controller build on merge request
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, edited, review_requested, synchronize]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v3
|
||||
|
||||
- uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Build
|
||||
run: cargo build
|
15
renovate.json
Normal file
15
renovate.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:base"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchUpdateTypes": [
|
||||
"minor",
|
||||
"patch"
|
||||
],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -67,6 +67,7 @@ fn main() {
|
|||
Ok(port_read) => match port_read {
|
||||
SerialReadResult::Message(msg) => {
|
||||
if !msg.is_empty() {
|
||||
println!("received message: {msg}");
|
||||
tx.send(msg).unwrap();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue