Merge remote-tracking branch 'origin/master' into feat/cliable

This commit is contained in:
rcmerci
2026-04-28 22:59:59 +08:00
77 changed files with 4549 additions and 1133 deletions

View File

@@ -36,7 +36,45 @@ env:
BABASHKA_VERSION: '1.12.215'
jobs:
test-release:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 10.33.0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
cache-dependency-path: deps/publish/pnpm-lock.yaml
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: ${{ env.JAVA_VERSION }}
# Clojure needed for test build step
- name: Set up Clojure
uses: DeLaGuardo/setup-clojure@13.5
with:
cli: ${{ env.CLOJURE_VERSION }}
bb: ${{ env.BABASHKA_VERSION }}
- name: Fetch pnpm deps
run: pnpm install --frozen-lockfile
- name: Run publish unit tests
run: pnpm test
build-release:
runs-on: ubuntu-latest
steps:
@@ -94,7 +132,7 @@ jobs:
bb: ${{ env.BABASHKA_VERSION }}
- name: Run clj-kondo lint
run: clojure -M:clj-kondo --lint src
run: clojure -M:clj-kondo --lint src test
- name: Carve lint for unused vars
run: bb lint:carve