Skip to content

v11 (cljfmt)

v11 (cljfmt) #25

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Prepare java
uses: actions/setup-java@v1
with:
java-version: 1.14
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.5
with:
cli: 1.11.1.1165 # Clojure CLI based on tools.deps
bb: 0.7.8 # Babashka
clj-kondo: 2022.05.31 # Clj-kondo
cljfmt: 0.10.2 # cljfmt
cljstyle: 0.15.0 # cljstyle
- name: clj-fmt
if: ${{ matrix.os != 'windows-latest' }}
run: clojure -M:cljfmt
shell: bash
- name: Install dependencies
run: |
clojure -X:goldly :profile '"npm-install"'
./scripts/copy_res.sh
#- name: clj-kondo
# run: clojure -M:lint
#- name: test-clj
# run: clojure -M:test-clj
#- name: cloverage
# run: clojure -M:cloverage
- name: Release
if: success()
# if: github.event_name == 'push'
env:
CLOJARS_USERNAME: ${{ secrets.ReleaseUsername }}
CLOJARS_PASSWORD: ${{ secrets.ReleasePassword }}
CODECOV_TOKEN: ${{ secrets.CodecovToken }}
run: |
git config --global user.email "ci@pinkgorilla.org"
git config --global user.name "CI/CD"
rm src/goldly_bindings_generated.cljs
clojure -T:build jar
clojure -T:build deploy