Skip to content

Commit

Permalink
Switch to Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke committed May 15, 2024
1 parent abc016b commit 2098b35
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 11 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

0 comments on commit 2098b35

Please sign in to comment.