Skip to content

Switch to Github Actions #3

Switch to Github Actions

Switch to Github Actions #3

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
lint:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
runs-on: ${{ matrix.os }}
name: Run tests
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache lein project dependencies
id: clj-cache
uses: actions/cache@v3
with:
path: |
~/.m2
~/.lein
key: ${{ runner.os }}-clojure-${{ hashFiles('**/project.clj') }}
restore-keys: ${{ runner.os }}-clojure
- name: Run tests
run: lein test-all