You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Introduction to GitHub Actions](https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/introduction-to-github-actions){target=_blank .md-button}
15
-
[Understanding the workflow file](https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/introduction-to-github-actions#understanding-the-workflow-file){target=_blank .md-button}
@@ -29,9 +23,12 @@ An event triggers a configured workflow which contains one or more jobs. A job c
29
23
30
24
`.github/workflows/workflow-name.yaml` is a file that contains the workflow definition.
31
25
32
-
[Setup Java](https://github.com/actions/setup-java){target=_blank} adds an OpenJDK distribution, i.e. Eclipse Temurin, at a specified version (Java 17 recommended).
26
+
> NOTE: Practicalli recommends including additional configuration in `.github/config/` files where required, rather than the root directory of a project
27
+
33
28
34
-
[Setup Clojure](https://github.com/DeLaGuardo/setup-clojure){target=_blank} provides Clojure via Clojure CLI, Leiningen or Boot. Clojure CLI is recommended.
29
+
[Setup Java](https://github.com/actions/setup-java){target=_blank} adds an OpenJDK distribution, i.e. Eclipse Temurin, at a specified version.
30
+
31
+
[Setup Clojure](https://github.com/DeLaGuardo/setup-clojure){target=_blank} provides Clojure via Clojure CLI or Leiningen.
35
32
36
33
[Cache](https://github.com/actions/cache){target=_blank} is used to cache Clojure and Java libraries
37
34
@@ -70,7 +67,7 @@ An event triggers a configured workflow which contains one or more jobs. A job c
70
67
uses: actions/setup-java@v3
71
68
with:
72
69
distribution: 'temurin'
73
-
java-version: '17'
70
+
java-version: '21'
74
71
75
72
- name: Install clojure tools
76
73
uses: DeLaGuardo/setup-clojure@9.5
@@ -91,9 +88,3 @@ An event triggers a configured workflow which contains one or more jobs. A job c
91
88
- name: Package Clojure project
92
89
run: clojure -X:project/uberjar
93
90
```
94
-
95
-
## References
96
-
97
-
*[Practicalli Blog - publish blog workflow](https://github.com/practicalli/blog/blob/live/.github/workflows/publish-blog.yml) - build publish a Cryogen project with Clojure CLI and publish the generated website with GitHub pages (also [a Staging workflow that runs on pull requests](https://github.com/practicalli/blog/blob/live/.github/workflows/publish-blog-staging.yml))
98
-
*[Practicalli Landing Page GitHub workflow](https://github.com/practicalli/practicalli.github.io/blob/live/.github/workflows/deploy.yml) - build a ClojureScript & Figwheel project with Clojure CLI and publish the generated site to GitHub pages
99
-
*[Practicalli Clojure CLI config - lint with clj-kondo workflow](https://github.com/practicalli/clojure-deps-edn/blob/live/.github/workflows/lint-with-clj-kondo.yml) - lint the `deps.edn` file with clj-kondo
0 commit comments