ci: 增加 action

This commit is contained in:
KAAAsS 2023-04-25 00:35:34 +08:00
parent 8fb900da5d
commit 3f80f85402
Signed by: KAAAsS
GPG Key ID: D22F53AF662411FE

18
.gitea/workflows/rust.yml Normal file

@ -0,0 +1,18 @@
name: Build and test
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose