Skip to content

Update deps

Update deps #44

Workflow file for this run

on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-java@v3.12.0
with:
distribution: 'adopt'
java-version: '11'
- uses: DeLaGuardo/setup-clojure@master
with:
cli: '1.11.1.1403'
- uses: actions/cache@v3.3.1
with:
path: '~/.m2'
key: "${{ runner.os }}-maven-${{ hashFiles('deps.edn') }}"
restore-keys: |
${{ runner.os }}-maven-
- run: yarn install
- run: clojure -M:cljfmt check
- run: clojure -M:clj-kondo
- run: yarn test
deploy:
needs: test
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-java@v3.12.0
with:
distribution: 'adopt'
java-version: '11'
- uses: DeLaGuardo/setup-clojure@master
with:
cli: '1.11.1.1403'
- uses: actions/cache@v3.3.1
with:
path: '~/.m2'
key: "${{ runner.os }}-maven-${{ hashFiles('deps.edn') }}"
restore-keys: |
${{ runner.os }}-maven-
- name: Build artifacts
run: |
clojure -Stree
yarn install
make
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: resources/public