Create ci.yml

This commit is contained in:
Gary Guo 2023-05-07 00:15:01 +01:00 committed by GitHub
parent a331c22665
commit 863a10ed9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

22
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,22 @@
name: CI
on:
push:
branches: [ "trunk" ]
pull_request:
branches: [ "trunk" ]
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