Skip to content

Commit

Permalink
Merge pull request #114 from juxt/fel/github-actions
Browse files Browse the repository at this point in the history
Migrate CircleCI to GitHub actions
  • Loading branch information
kauppilainen authored Aug 5, 2024
2 parents 814b000 + 24d08a2 commit 815357e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 67 deletions.
67 changes: 0 additions & 67 deletions .circleci/config.yml

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Tests

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

jobs:
test-clj:
runs-on: ubuntu-latest
container:
image: cimg/clojure:1.11.1-browsers

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Check cache
uses: actions/cache/restore@v4
id: cache
with:
path: |
~/.m2/repository
~/.lein
key: clj-deps-${{ hashFiles('project.clj') }}

- run: lein deps
- run: lein eastwood
- run: lein cljfmt check
- run: lein test

- name: Save cache
uses: actions/cache/save@v4
with:
path: |
~/.m2/repository
~/.lein
key: clj-deps-${{ hashFiles('project.clj') }}

test-cljs:
runs-on: ubuntu-latest
container:
image: cimg/clojure:1.11.1-browsers

steps:
- name: Checkout code
uses: actions/checkout@v2

- run: sudo npm install -g --unsafe-perm lumo-cljs
- run: ./lumo-test

0 comments on commit 815357e

Please sign in to comment.