Skip to content

Commit 1376ded

Browse files
authored
Merge pull request #79 from DeLaGuardo/78-leiningen.bat
Make lein.ps1 and lein.bat both available on windows
2 parents a3c5119 + 21d73af commit 1376ded

File tree

8 files changed

+3899
-2040
lines changed

8 files changed

+3899
-2040
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
test-leiningen:
5959
strategy:
6060
matrix:
61-
os: [ubuntu-latest, macOS-latest, windows-latest]
61+
os: [ubuntu-latest, macOS-latest]
6262

6363
runs-on: ${{ matrix.os }}
6464

@@ -81,6 +81,38 @@ jobs:
8181
- name: Check leiningen version
8282
run: lein version
8383

84+
test-leiningen-windows:
85+
runs-on: windows-latest
86+
steps:
87+
- name: Checkout
88+
uses: actions/checkout@master
89+
90+
- name: Prepare java
91+
uses: actions/setup-java@v3
92+
with:
93+
distribution: 'zulu'
94+
java-version: '8'
95+
96+
- name: Install leiningen
97+
uses: ./
98+
with:
99+
lein: latest
100+
101+
- name: lein powershell
102+
shell: powershell
103+
run: |
104+
lein version
105+
106+
- name: lein pwsh
107+
shell: pwsh
108+
run: |
109+
lein version
110+
111+
- name: lein cmd
112+
shell: cmd
113+
run: |
114+
lein version
115+
84116
test-boot:
85117
strategy:
86118
matrix:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
java-version: '8'
4646

4747
- name: Install clojure tools
48-
uses: DeLaGuardo/setup-clojure@10.0
48+
uses: DeLaGuardo/setup-clojure@10.1
4949
with:
5050
# Install just one or all simultaneously
5151
# The value must indicate a particular version of the tool, or use 'latest'

0 commit comments

Comments
 (0)