diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..f93a639 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,25 @@ +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 org.clojars.majorcluster/diplomat-http-w-datomic-service bakery + - name: Install dependencies + run: lein deps + working-directory: ./bakery + - name: Run tests + run: lein test + working-directory: ./bakery diff --git a/project.clj b/project.clj index 785d93f..51f1582 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.majorcluster/lein-template.diplomat-http-w-datomic-service "0.2.3" +(defproject org.clojars.majorcluster/lein-template.diplomat-http-w-datomic-service "0.2.4" :description "Diplomat architecture-pedestal styled template with datomic db for leiningen generation" :url "https://github.com/majorcluster/diplomat-http-w-datomic-service-template" :license {:name "MIT License"