From 2f5efa1a769c5fed740c967c239096b123baa59b Mon Sep 17 00:00:00 2001 From: Brew Bot <86565977+WallBrewBot@users.noreply.github.com> Date: Sat, 4 May 2024 09:10:45 -0500 Subject: [PATCH] [bot] synced file(s) with Wall-Brew-Co/rebroadcast (#110) * [bot] synced local '.github/workflows/deploy_to_clojars.yml' with remote 'sources/github-actions/workflows/deploy_to_clojars.yml' Sourced from: https://github.com/Wall-Brew-Co/rebroadcast * [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/deploy_to_clojars.yml | 11 ++++++++--- .github/workflows/lint.yml | 12 ++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy_to_clojars.yml b/.github/workflows/deploy_to_clojars.yml index 67559b6..c7f223b 100644 --- a/.github/workflows/deploy_to_clojars.yml +++ b/.github/workflows/deploy_to_clojars.yml @@ -25,8 +25,13 @@ jobs: ${{ runner.os }}-clj - name: Install Clojure dependencies - run: | - lein deps && lein project-version + run: lein deps + + - name: Validate Changelog Status + run: lein sealog check + + - name: Display Version + run: lein sealog version - name: Run sanity tests run: lein test @@ -42,7 +47,7 @@ jobs: - name: Resolve version id: versionchk - run: echo "::set-output name=VERSION::$(lein project-version)" + run: echo "VERSION=$(lein sealog version project.clj | tail -n 1)" >> $GITHUB_OUTPUT - name: Push Tag uses: hole19/git-tag-action@v1.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6063e06..2b07b03 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -39,5 +39,17 @@ jobs: level: error filter_mode: file + sealog: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4.1.4 + with: + ref: ${{ github.head_ref }} + + - name: Validate Sealog Entries + run: lein sealog check + # 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/lint.yml