-
Notifications
You must be signed in to change notification settings - Fork 14
56 lines (52 loc) · 1.46 KB
/
clojure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Clojure CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "21"
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.10.1.693
- name: Build Project
run: clojure -A:fig/simple
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: DeLaGuardo/clojure-lint-action@master
continue-on-error: true
with:
clj-kondo-args: --lint src
github_token: ${{ secrets.GITHUB_TOKEN }}
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "21"
- name: Setup Clojure
uses: DeLaGuardo/[email protected]
with:
cli: 1.10.1.693
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Build Project
run: yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: resources/public # The folder the action should deploy.