Skip to content

Commit

Permalink
Switch to Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
japgolly committed Jul 22, 2021
1 parent 3a5e1c3 commit 83c8e87
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 39 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI

on:
pull_request:
push:

jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- java: 14
scala: 2.13.6
- java: 8
scala: 3.0.1
name: Scala v${{ matrix.scala }} / Java v${{ matrix.java }}
steps:

- name: Git checkout
uses: actions/checkout@v2

- name: Setup Java and Scala
uses: olafurpg/setup-scala@v12
with:
java-version: adopt@1.${{ matrix.java }}

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Setup Scala.JS
uses: japgolly/setup-scalajs@v1

- name: Cache sbt
uses: coursier/[email protected]

- name: Build and test
shell: bash
run: sbt ++${{ matrix.scala }} clean test
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

0 comments on commit 83c8e87

Please sign in to comment.