From f4292bc0e90f64de81a2e8d0746181a5cde21012 Mon Sep 17 00:00:00 2001 From: WallBrewBot Date: Sun, 5 Jan 2025 18:02:52 +0000 Subject: [PATCH] [bot] synced local '.github/workflows/lint.yml' with remote 'sources/github-actions/workflows/lint.yml' Sourced from: https://github.com/Wall-Brew-Co/rebroadcast --- .github/workflows/lint.yml | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0f98f61..0e54775 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -63,6 +63,22 @@ jobs: with: ref: ${{ github.head_ref }} + - name: Setup Java + id: install-java + uses: actions/setup-java@v4.6.0 + with: + distribution: 'adopt' + java-version: '21' + # This should match system.properties + + - name: Install Leiningen + id: install-leiningen + uses: DeLaGuardo/setup-clojure@13.1 + with: + lein: 'latest' + clj-kondo: 'latest' + cljstyle: 'latest' + - name: Cache Maven Dependencies id: cache-maven uses: actions/cache@v4 @@ -74,6 +90,10 @@ jobs: restore-keys: | ${{ runner.os }}-clj + - name: Echo Leiningen Version + id: lein-version + run: lein -v + - name: Validate Sealog Entries id: validate-changelog run: lein sealog check @@ -89,6 +109,22 @@ jobs: with: ref: ${{ github.head_ref }} + - name: Setup Java + id: install-java + uses: actions/setup-java@v4.6.0 + with: + distribution: 'adopt' + java-version: '21' + # This should match system.properties + + - name: Install Leiningen + id: install-leiningen + uses: DeLaGuardo/setup-clojure@13.1 + with: + lein: 'latest' + clj-kondo: 'latest' + cljstyle: 'latest' + - name: Cache Maven Dependencies id: cache-maven uses: actions/cache@v4 @@ -100,6 +136,10 @@ jobs: restore-keys: | ${{ runner.os }}-clj + - name: Echo Leiningen Version + id: lein-version + run: lein -v + - name: Validate Bouncer Rules id: validate-bouncer run: lein bouncer check