From 5b0798277d77707d5452c44a481e5e24d81eb8d7 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sun, 11 Aug 2024 07:15:31 +0100 Subject: [PATCH] fix: test runs on push to next and uses next branch --- .forgejo/workflows/test.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 62d1d6a..5434bd4 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,7 @@ -on: [push] +on: + push: + branches: + - next jobs: test: runs-on: docker @@ -6,16 +9,16 @@ jobs: - uses: actions/checkout@v4 - name: Test - uses: https://git.kemitix.net/kemitix/rust@v1.80.0 + uses: https://git.kemitix.net/kemitix/rust@next with: - args: test + args: cargo test - name: Build - uses: https://git.kemitix.net/kemitix/rust@v1.80.0 + uses: https://git.kemitix.net/kemitix/rust@next with: - args: build + args: cargo build - name: Run - uses: https://git.kemitix.net/kemitix/rust@v1.80.0 + uses: https://git.kemitix.net/kemitix/rust@next with: - args: run + args: cargo run