chore(cljfmt) format buffers #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clojure CI | |
on: | |
push: | |
branches: [ "master", "devel" ] | |
pull_request: | |
branches: [ "master", "devel" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: lein -U deps | |
- name: Setup Test environnement | |
run: docker-compose up -d | |
- name: Run tests | |
run: lein test | |
- name: Deploy to Clojars | |
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/devel' | |
run: lein deploy | |
env: | |
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} | |
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} | |
- name: Generate documentation | |
if: github.ref == 'refs/heads/master' | |
run: lein marg -d public -f index.html | |
- name: Deploy documentation to Github Pages | |
uses: JamesIves/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
branch: gh-pages | |
folder: public |