Add actions file
This commit is contained in:
parent
c726ddefc1
commit
abe8b2a91e
2 changed files with 22 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: Home Server Merge
|
||||||
|
run_name: Test successful home server 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
|
||||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,6 @@
|
||||||
/target
|
/target
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
|
|
||||||
|
test_devices.conf
|
||||||
|
|
||||||
*.db
|
*.db
|
Loading…
Reference in a new issue