From 5fc345c0de89efd12d80a3b4af3036f2da44eeb4 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Mon, 16 Sep 2024 17:19:17 +0100 Subject: [PATCH] test: verify matrix with stable and nightly --- .forgejo/workflows/test.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 5434bd4..956657a 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -5,20 +5,26 @@ on: jobs: test: runs-on: docker + strategy: + matrix: + toolchain: + - stable + - nightly + steps: - uses: actions/checkout@v4 - - name: Test + - name: Test ${{ toolchain}} uses: https://git.kemitix.net/kemitix/rust@next with: - args: cargo test + args: ${{toolchain}} cargo test - - name: Build + - name: Build ${{ toolchain }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: cargo build + args: ${{ toolchain }} cargo build - - name: Run + - name: Run ${{ toolchain }} uses: https://git.kemitix.net/kemitix/rust@next with: - args: cargo run + args: ${{ toolchain }} cargo run