Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Update README.md (#471) #372

Update README.md (#471)

Update README.md (#471) #372

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala: [3.1.0, 2.13.8, 2.12.15]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Cache Coursier
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: sbt-coursier-${{ hashFiles('project/*.sbt', 'project/*.scala') }}
- name: Cache SBT
uses: actions/cache@v4
with:
path: ~/.sbt
key: sbt-${{ hashFiles('project/build.properties', 'project/plugins.sbt') }}
- uses: actions/setup-node@v4
with:
node-version: '14'
- run: npm install
- name: Run Tests
env:
JAVA_OPTS: -Xss4M -Xms2G -Xmx8G -XX:ReservedCodeCacheSize=512M -XX:MaxMetaspaceSize=8G -XX:+CMSClassUnloadingEnabled -XX:+UseG1GC
JVM_OPTS: -Xss4M -Xms2G -Xmx8G -XX:ReservedCodeCacheSize=512M -XX:MaxMetaspaceSize=8G -XX:+CMSClassUnloadingEnabled -XX:+UseG1GC
run: sbt ++${{ matrix.scala }} core/test awsDynamoDB/test awsS3/test awsCloudFrontSigner/test credentials/test all/test
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11'
- name: Cache Coursier
uses: actions/cache@v4
with:
path: ~/.cache/coursier
key: sbt-coursier-${{ hashFiles('project/*.sbt', 'project/*.scala') }}
- name: Cache SBT
uses: actions/cache@v4
with:
path: ~/.sbt
key: sbt-${{ hashFiles('project/build.properties', 'project/plugins.sbt') }}
- name: Check Scalafmt
env:
JAVA_OPTS: -Xss4M -Xms2G -Xmx8G -XX:ReservedCodeCacheSize=512M -XX:MaxMetaspaceSize=8G -XX:+CMSClassUnloadingEnabled -XX:+UseG1GC
JVM_OPTS: -Xss4M -Xms2G -Xmx8G -XX:ReservedCodeCacheSize=512M -XX:MaxMetaspaceSize=8G -XX:+CMSClassUnloadingEnabled -XX:+UseG1GC
run: sbt scalafmtSbtCheck scalafmtCheck test:scalafmtCheck