Skip to content

Commit

Permalink
Travis => Actions (#5)
Browse files Browse the repository at this point in the history
* build

* timeout
  • Loading branch information
frenchy64 authored Oct 28, 2024
1 parent 34e67c4 commit 373b263
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 5
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, test
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 373b263

Please sign in to comment.