From b3f78e221b1ed90633389b0e52843eb27f6ca4ef Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Thu, 16 May 2024 06:52:22 +0100 Subject: [PATCH] build(forgejo): add push-next job --- .forgejo/workflows/push-next.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .forgejo/workflows/push-next.yml diff --git a/.forgejo/workflows/push-next.yml b/.forgejo/workflows/push-next.yml new file mode 100644 index 0000000..90db051 --- /dev/null +++ b/.forgejo/workflows/push-next.yml @@ -0,0 +1,21 @@ +name: Rust + +on: + push: + branches: ["next"] + pull_request: + branches: ["main"] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: git.kemitix.net/kemitix/git-next-builder:latest + + steps: + - uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose