Skip to content

Commit

Permalink
Merge pull request #20 from eed3si9n/wip/github_actions
Browse files Browse the repository at this point in the history
Migrate to GitHub Actions
  • Loading branch information
eed3si9n committed Sep 19, 2021
2 parents dc7ab6f + 13bf239 commit 8d5cd6f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 7 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,30 @@
name: CI
on:
pull_request:
push:
schedule:
# 2am EST every Saturday
- cron: '0 7 * * 6'
jobs:
build_scala2_12:
runs-on: ubuntu-latest
env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v13
with:
java-version: "adopt@1.8"
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and test
run: |
sbt -v clean test
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "ivydata-*.properties" -delete || true
shell: bash
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit 8d5cd6f

Please sign in to comment.