From 4deee3a9cb751f259cd639903ac9f5c538861847 Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin <53475078+maulanasdqn@users.noreply.github.com> Date: Sat, 8 Feb 2025 01:10:48 +0700 Subject: [PATCH] chore: configure action --- .github/workflows/test-build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test-build.yml diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml new file mode 100644 index 0000000..d43270c --- /dev/null +++ b/.github/workflows/test-build.yml @@ -0,0 +1,22 @@ +name: Rust + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose