Skip to content

Update sbt-ci-release to 1.9.0 (#3188) #110

Update sbt-ci-release to 1.9.0 (#3188)

Update sbt-ci-release to 1.9.0 (#3188) #110

Workflow file for this run

name: build
on:
push:
paths-ignore:
- 'doc/**'
- 'docs/**'
- '*.md'
- '*.yml'
branches:
- main
- release/*
jobs:
scala-2_12:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
run: docker run -d -it -p 39227:9200 -p 39337:9300 -e "discovery.type=single-node" -v /home/runner/work/elastic4s/elastic4s/elastic4s-tests/src/test/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:8.15.3
- name: run tests
run: sbt ++2.12.20 test
scala-2_13:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
run: docker run -d -it -p 39227:9200 -p 39337:9300 -e "discovery.type=single-node" -v /home/runner/work/elastic4s/elastic4s/elastic4s-tests/src/test/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:8.15.3
- name: run tests
run: sbt ++2.13.14 test
scala-3_0:
runs-on: ubuntu-latest
steps:
- name: checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Launch elastic docker
run: docker run -d -it -p 39227:9200 -p 39337:9300 -e "discovery.type=single-node" -v /home/runner/work/elastic4s/elastic4s/elastic4s-tests/src/test/resources/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:8.15.3
- name: run tests
run: sbt ++3.3.3 elastic4s-scala3/test