docs: Update copyright year #15
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: Lint and Test | |
on: push | |
jobs: | |
clj_style: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeLaGuardo/setup-clojure@master | |
with: | |
cljstyle: latest | |
- run: cljstyle check --report -v | |
clj_kondo: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeLaGuardo/setup-clojure@master | |
with: | |
clj-kondo: latest | |
- run: clj-kondo --lint src:test:integration | |
test: | |
needs: [clj_style, clj_kondo] | |
runs-on: ubuntu-latest | |
services: | |
mailhog: | |
image: mailhog/mailhog:v1.0.0 | |
ports: | |
- 1025:1025 | |
- 8025:8025 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
java-package: jdk | |
architecture: x64 | |
- uses: DeLaGuardo/setup-clojure@master | |
with: | |
lein: '2.10.0' | |
- name: Show versions | |
run: | | |
java -version | |
lein version | |
- name: Cache dependencies | |
uses: toyokumo/cache@main | |
with: | |
path: | | |
~/.m2 | |
~/.lein | |
key: clj-cache-test-${{ hashFiles('project.clj') }} | |
restore-keys: | | |
clj-cache-test- | |
- name: Run tests | |
run: lein test-integration | |
- name: Run cloverage | |
run: | | |
lein cloverage --codecov | |
bash <(curl -s https://codecov.io/bash) |