From d0d42872273887a1a445587fce67ae01082339f7 Mon Sep 17 00:00:00 2001 From: Tasos Bakogiannis Date: Wed, 22 Jul 2020 23:54:53 +0300 Subject: [PATCH] run tests for multiple rustc versions. --- .github/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0728abf..493e583 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,15 +8,28 @@ on: jobs: test: - name: test (stable) + name: test runs-on: ubuntu-latest + strategy: + matrix: + build: + - reference + - stable + - nightly + include: + - build: reference + rust: 1.40.0 + - build: stable + rust: stable + - build: nightly + rust: nightly steps: - name: checkout uses: actions/checkout@v2 - name: install uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: ${{ matrix.rust }} profile: minimal override: true - name: build