From 0ddb7cab1229b5be92a66941e3c5d6a47c3782a3 Mon Sep 17 00:00:00 2001 From: Ambrose Bonnaire-Sergeant Date: Tue, 22 Oct 2024 17:00:31 -0500 Subject: [PATCH] build --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ .travis.yml | 9 --------- 2 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0b982bb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Cache project dependencies + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-clojure-${{ hashFiles('**/project.clj') }} + restore-keys: | + ${{ runner.os }}-clojure + - name: Prepare java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: 21 + - name: Install clojure tools + uses: DeLaGuardo/setup-clojure@12.5 + with: + lein: latest + - run: lein midje diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 1144228..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: clojure -lein: 2.9.1 -dist: trusty -script: lein midje - -jdk: - - oraclejdk8 - - openjdk11 - - openjdk13