fix: test runs on push to next and uses next branch
All checks were successful
/ test (push) Successful in 5s

This commit is contained in:
Paul Campbell 2024-08-11 07:15:31 +01:00 committed by Paul Campbell
parent 2c02c6fdaf
commit 5b0798277d

View file

@ -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