From 3698853f94098df722a8538b4ffbe6b14724c416 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 19 Jan 2024 21:50:04 +0300 Subject: [PATCH] Test on multiple rust versions --- .github/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e648caf..00fe5a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,17 @@ on: [ push, pull_request ] jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + include: + - { rust: nightly } + - { rust: stable } steps: - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + override: true - name: Build run: cargo build - name: Test