adding workflows #1
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: PR checks | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run install | |
run: lein install | |
- name: Generate sample | |
run: lein new diplomat-http-w-postgresql-service bakery | |
- name: Install dependencies | |
run: lein deps | |
working-directory: ./bakery | |
- name: Run tests | |
run: lein test | |
working-directory: ./bakery |