Change github action runner to ubuntu-latest (#158) #529
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: adopt | |
- name: Install sbt | |
uses: sbt/setup-sbt@v1 | |
- name: Publish collector locally | |
run: | | |
git clone --branch 3.4.0 --depth 1 https://github.com/snowplow/stream-collector.git | |
cd stream-collector | |
sbt +publishLocal | |
- name: Run sbt | |
run: sbt test |