ci: 增加 action
This commit is contained in:
parent
8fb900da5d
commit
3f80f85402
18
.gitea/workflows/rust.yml
Normal file
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
|
Loading…
x
Reference in New Issue
Block a user