chore(deps): update dependency com.wallbrew:bouncer to v1.2.0 #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backwards Compatibility Tests | |
on: ["workflow_dispatch", "pull_request"] | |
jobs: | |
compatibility_test: | |
strategy: | |
matrix: | |
clojure_version: ['1.8.0', '1.9.0', '1.10.0', '1.11.0', '1.12.0'] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ matrix.clojure_version }} | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Echo Trigger | |
id: echo-trigger | |
run: echo "Job triggered by ${{ github.event_name }}" | |
- name: Echo Runner OS | |
id: echo-runner-os | |
run: echo "Job running on ${{ runner.os }} server" | |
- name: Echo Git Ref | |
id: echo-git-ref | |
run: echo "Using ${{ github.ref }} branch from ${{ github.repository }} repository" | |
- name: Echo Concurrency Group | |
id: echo-concurrency-group | |
run: echo '${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}' | |
- name: Checkout Repository | |
id: checkout | |
uses: actions/[email protected] | |
- name: Setup Java | |
id: install-java | |
uses: actions/[email protected] | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- name: Install Leiningen | |
id: install-leiningen | |
uses: DeLaGuardo/[email protected] | |
with: | |
lein: 'latest' | |
clj-kondo: 'latest' | |
cljstyle: 'latest' | |
- name: Cache maven dependencies | |
id: cache-maven | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-maven | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-clj-${{ hashFiles('**/project.clj') }}-${{ matrix.clojure_version }} | |
restore-keys: | | |
${{ runner.os }}-clj-${{ hashFiles('**/project.clj') }} | |
${{ runner.os }}-clj | |
- name: Install Clojure Dependencies | |
id: install-deps | |
run: lein deps | |
- name: Echo Leiningen Version | |
id: lein-version | |
run: lein -v | |
- name: Override Clojure Version | |
id: override-clojure-version | |
run: lein change :dependencies:org.clojure/clojure set '"${{ matrix.clojure_version }}"' | |
- name: Run all tests | |
id: run-tests | |
run: lein test | |
- name: Package The Library As A Jar | |
id: package | |
run: lein jar | |
- name: Echo Status | |
id: echo-status | |
run: echo "Job status is ${{ job.status }}." |