From 66f6aaf89fee6e2ad7c4e583210edfde853d6c7f Mon Sep 17 00:00:00 2001 From: Radford Smith <11401+rads@users.noreply.github.com> Date: Sat, 27 Apr 2024 14:24:49 -0700 Subject: [PATCH] Add CI jobs for both fixed and latest bb versions --- .github/workflows/ci.yml | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 29aebe7..c9430f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,23 +3,47 @@ on: [push, pull_request] jobs: bb-run-test-linux: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + bb-version: [1.3.190, latest] steps: - name: Check out repository code uses: actions/checkout@v3 - name: Install clojure tools uses: DeLaGuardo/setup-clojure@9.4 with: - bb: latest + bb: ${{ matrix.bb-version }} - run: bb run test + + bb-run-test-macos: + runs-on: macos-latest + strategy: + fail-fast: false + matrix: + bb-version: [1.3.190, latest] + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: Install clojure tools + uses: DeLaGuardo/setup-clojure@9.4 + with: + bb: ${{ matrix.bb-version }} + - run: bb run test + bb-run-test-windows: runs-on: windows-latest + strategy: + fail-fast: false + matrix: + bb-version: [latest] steps: - name: Check out repository code uses: actions/checkout@v3 - name: Install clojure tools uses: DeLaGuardo/setup-clojure@9.4 with: - bb: latest + bb: ${{ matrix.bb-version }} - name: bb test shell: bash run: | @@ -33,12 +57,16 @@ jobs: bb-run-lint: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + bb-version: [1.3.190, latest] steps: - name: Check out repository code uses: actions/checkout@v3 - name: Install clojure tools uses: DeLaGuardo/setup-clojure@9.4 with: - bb: latest + bb: ${{ matrix.bb-version }} clj-kondo: latest - run: bb run lint