From 8afa25e7123916cc8fb0a6ab121c4fcdc94c1637 Mon Sep 17 00:00:00 2001 From: Jens Siebert <143868460+jens-siebert@users.noreply.github.com> Date: Tue, 30 Jan 2024 11:46:07 +0100 Subject: [PATCH] Create Github Action for building and testing --- .github/workflows/rlox.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/rlox.yml diff --git a/.github/workflows/rlox.yml b/.github/workflows/rlox.yml new file mode 100644 index 0000000..4cc380c --- /dev/null +++ b/.github/workflows/rlox.yml @@ -0,0 +1,22 @@ +name: rlox + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +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