Skip to content

day 06

day 06 #30

Workflow file for this run

name: AOC CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Cache Clojure Dependencies
uses: actions/cache@v3
with:
path: |
~/.m2
~/.gitlibs
key: cljdeps-${{ hashFiles('deps.edn', 'bb.edn') }}
restore-keys: cljdeps-
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@12.1
with:
cli: 1.11.1.1413
bb: 0.9.162
clj-kondo: 2022.03.04
- name: Run tests
run: bb ci
- uses: codecov/codecov-action@v3
with:
files: target/coverage/codecov.json