Skip to content

Post-release of v12.1.0 by @Georges-GNM: set snapshot version #255

Post-release of v12.1.0 by @Georges-GNM: set snapshot version

Post-release of v12.1.0 by @Georges-GNM: set snapshot version #255

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
# triggering CI default branch improves caching
# see https://docs.github.com/en/free-pro-team@latest/actions/guides/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
push:
branches:
- main
jobs:
CI:
runs-on: ubuntu-latest
permissions:
id-token: write # Needed to interact with GitHub's OIDC Token endpoint
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: aws-actions/configure-aws-credentials@v1 # Needed for S3 read access for the tests!
with:
# The AWS role is configured as a GitHub Repo secret, the value is the cloudformation-output of the
# 'Facia-Scala-Client-CI-Role-Provider' cloudformation stack.
role-to-assume: ${{ secrets.AWS_ROLE_FOR_TESTS }}
aws-region: eu-west-1
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 11
cache: sbt
- name: Build and Test
run: sbt -v +test
- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test-results/**/TEST-*.xml"
if: always()