Skip to content

Commit

Permalink
Travis => Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Oct 22, 2024
1 parent 2378e61 commit a6f0dd3
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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
18 changes: 0 additions & 18 deletions .travis.yml

This file was deleted.

0 comments on commit a6f0dd3

Please sign in to comment.