Skip to content

upgrade org.clojure/data.codec 0.2.0 #102

upgrade org.clojure/data.codec 0.2.0

upgrade org.clojure/data.codec 0.2.0 #102

name: Build and Test
on:
push:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven-deps
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: lein deps
test:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache maven dependencies
uses: actions/cache@v4
env:
cache-name: cache-maven-deps
with:
path: ~/.m2/repository
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test-all-profiles
- name: Run code coverage
run: lein cloverage
- name: Upload coverage reports
uses: actions/upload-artifact@v4
with:
name: coverage
path: docs/coverage