Skip to content

Add compatibility testing #5

Add compatibility testing

Add compatibility testing #5

Workflow file for this run

name: Backwards Compatibility Tests
on: ["workflow_dispatch", "pull_request"]
jobs:
compatibility_test:
strategy: matrix
clojure_version: ['1.10.0', '1.11.0', '1.12.0']

Check failure on line 8 in .github/workflows/compatibility.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compatibility.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven
with:
path: ~/.m2
save-always: true
key: ${{ runner.os }}-clj-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-clj
- name: Install Clojure Dependencies
run: lein deps
- name: Override Clojure Version
run: lein change :dependencies:org.clojure/clojure set '"${{ matrix.clojure_version }}"'
- name: Run all tests
run: lein test
# This file was automatically copied and populated by rebroadcast
# Do not edit this file directly, instead modify the source at https://github.com/Wall-Brew-Co/rebroadcast/blob/master/sources/github-actions/workflows/clojure.yml