From de21ed935fd1044b583c3ec175b5ec510895423d Mon Sep 17 00:00:00 2001 From: George Narroway Date: Tue, 11 Oct 2022 10:40:06 +0800 Subject: [PATCH] run tests with deps insteadof lein --- .github/workflows/test-and-publish.yml | 16 ++++++++-------- CHANGELOG.md | 1 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test-and-publish.yml b/.github/workflows/test-and-publish.yml index 67eeb7c..9822c02 100644 --- a/.github/workflows/test-and-publish.yml +++ b/.github/workflows/test-and-publish.yml @@ -9,28 +9,28 @@ jobs: strategy: matrix: - distribution: [ 'zulu' ] - java: [ '11', '17' ] + distribution: [ 'temurin' ] + java: [ '11', '17', '21' ] name: Java ${{ matrix.Java }} (${{ matrix.distribution }}) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: ${{ matrix.distribution }} java-version: ${{ matrix.java }} - name: Install clojure tools - uses: DeLaGuardo/setup-clojure@9.5 + uses: DeLaGuardo/setup-clojure@12.5 with: - lein: 2.9.10 + cli: 1.11.3.1463 - - name: Test with lein - run: lein test + - name: Test with deps + run: clojure -X:test publish: runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index bfb014f..171e49b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. This change ## [Unreleased] ### Changed - updated various dev dependencies +- run tests with deps instead of lein ### Fixed - shutdown threadpool in custom executor test so test finishes cleanly