Skip to content

build(deps): bump olafurpg/setup-scala from 12 to 14 #11356

build(deps): bump olafurpg/setup-scala from 12 to 14

build(deps): bump olafurpg/setup-scala from 12 to 14 #11356

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.scalafmt.conf'
- '.github/workflows/ci.yml'
pull_request:
branches:
- main
paths:
- '**.scala'
- '**.java'
- '**.sbt'
- '.scalafmt.conf'
- '.github/workflows/ci.yml'
schedule:
- cron: '0 * * * *'
jobs:
lint:
runs-on: ubuntu-latest
env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- uses: actions/checkout@v3.3.0
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
with:
java-version: "adopt@1.8"
- uses: coursier/cache-action@v6
- run: sbt -v lint
- name: clean up
run: "${GITHUB_WORKSPACE}/.github/clean-up.sh"
test:
strategy:
fail-fast: false
matrix:
jdk: [ adopt@1.8, adopt@1.11, adopt@1.14 ]
scala: [ 2.13.5, 2.12.13, 2.11.12 ]
runs-on: ubuntu-latest
needs: lint
env:
JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
JVM_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
AWS_REGION: ap-northeast-1
TEST_TIME_FACTOR: 3
steps:
- uses: actions/checkout@v3.3.0
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.jdk }}
- uses: coursier/cache-action@v6
- uses: olafurpg/setup-gpg@v3
- name: sbt test
run: sbt -v ++${{ matrix.scala }} test
- name: clean up
run: "${GITHUB_WORKSPACE}/.github/clean-up.sh"
automerge:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
needs: test
steps:
- name: automerge
uses: pascalgn/automerge-action@v0.14.2
env:
GITHUB_TOKEN: "${{ secrets.CW_SCALA_STEWARD_TOKEN }}"
MERGE_LABELS: ""
MERGE_METHOD: "rebase"
MERGE_FILTER_AUTHOR: "cw-scala-steward"