Skip to content

Travis => Actions

Travis => Actions #1

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache project dependencies
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-clojure-${{ hashFiles('**/project.clj') }}
restore-keys: |
${{ runner.os }}-clojure
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
lein: latest
- run: lein do clean, javac, test :all