Skip to content

Commit 5f53dea

Browse files
ci: use newest version of Leiningen
- IMHO for this sort of project it's good to know whether anything breaks when using up-to-date (i.e., unpinned) Clojure tooling - Dropping the usage of the flake here might also speed up things and enable us to use GitHub caching in a subsequent step
1 parent b2f6adc commit 5f53dea

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/clojure.yml

+16-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,29 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9-
- uses: DeterminateSystems/nix-installer-action@main
9+
- name: add pwd to PATH
10+
run: echo "$(pwd)" >> "$GITHUB_PATH"
11+
- name: install Leiningen
12+
run: |
13+
curl -LSs https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o lein
14+
chmod +x lein
1015
- name: install Clojure dependencies
11-
run: nix develop -c lein deps
16+
run: lein deps
1217
- name: run Clojure tests
13-
run: nix develop -c lein test
14-
- run: PATH="$(pwd):$PATH" nix develop --impure -c lein figtest-headless
18+
run: lein test
19+
- run: lein figtest-headless
1520

1621
codox:
1722
runs-on: ubuntu-latest
1823
steps:
1924
- uses: actions/checkout@v4
20-
- uses: DeterminateSystems/nix-installer-action@main
21-
- run: nix develop -c lein codox
25+
- name: add pwd to PATH
26+
run: echo "$(pwd)" >> "$GITHUB_PATH"
27+
- name: install Leiningen
28+
run: |
29+
curl -LSs https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -o lein
30+
chmod +x lein
31+
- run: lein codox
2232

2333
notify-test-failures:
2434
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)