Create CI.yml

This commit is contained in:
2022-02-27 00:08:05 +08:00
committed by GitHub
parent 56882f71dd
commit 7326df4aaa

23
.github/workflows/CI.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check Out
uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose