diff --git a/.github/workflows/sbt.yml b/.github/workflows/sbt.yml new file mode 100644 index 0000000..4e3e03f --- /dev/null +++ b/.github/workflows/sbt.yml @@ -0,0 +1,22 @@ +name: sbt + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + scala: [ '2.10.7', '2.11.12', '2.12.10', '2.13.1' ] + java: [ '8', '11' ] + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + distribution: 'zulu' + java-version: ${{ matrix.java }} + cache: 'sbt' + - run: sbt ++${{ matrix.scala }} test:compile diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d3c04e1..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: scala - -scala: - - 2.12.10 - - 2.13.1 - -script: - - sbt ++$TRAVIS_SCALA_VERSION test:compile - -# Container-based build environment with faster boot times -sudo: false - -jdk: - - openjdk8 - - openjdk11 - -before_cache: - - find $HOME/.sbt -name "*.lock" | xargs rm - - find $HOME/.ivy2/cache -name "ivydata-*.properties" | xargs rm -cache: - directories: - - $HOME/.ivy2/cache - - $HOME/.sbt/boot - - $HOME/.sbt/launchers