From 3f80f85402b41639c0a39509972e7eefdd173954 Mon Sep 17 00:00:00 2001 From: KAAAsS Date: Tue, 25 Apr 2023 00:35:34 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=A2=9E=E5=8A=A0=20action?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/rust.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/rust.yml diff --git a/.gitea/workflows/rust.yml b/.gitea/workflows/rust.yml new file mode 100644 index 0000000..1f2ad40 --- /dev/null +++ b/.gitea/workflows/rust.yml @@ -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