diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bdff156..8c47c3d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,11 +9,15 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: deps run: lein deps + - name: lint run: lein clj-kondo --lint src test + - name: cljfmt run: lein cljfmt check + - name: test run: lein test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 48526ae..ddde2a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,11 +10,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: deps run: lein deps + - name: lint run: lein clj-kondo --lint src test + - name: cljfmt run: lein cljfmt check + - name: test run: lein test + + - name: release + env: + CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }} + CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }} + run: lein deploy releases