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

Update cats-effect, cats-effect-testkit to 3.5.6 #1043

Update cats-effect, cats-effect-testkit to 3.5.6

Update cats-effect, cats-effect-testkit to 3.5.6 #1043

Workflow file for this run

---
name: CI
on:
pull_request:
push:
branches: [master]
schedule:
- cron: '0 0 * * 0'
jobs:
test:
strategy:
fail-fast: false
matrix:
java:
- openjdk@1.11
- openjdk@1.17
scala:
- 2.12.17
- 2.13.10
- 3.2.1
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: olafurpg/setup-scala@v11
with:
java-version: "${{ matrix.java }}"
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Build and test
run: sbt ++${{ matrix.scala }} scalafmtCheck test:scalafmtCheck scalafmtSbtCheck headerCheck test:headerCheck test
shell: bash
timeout-minutes: 10
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/scala@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
e2e:
needs: test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
scala:
- 2.13.10
- 3.2.1
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup
uses: olafurpg/setup-scala@v10
with:
java-version: "adopt@1.11"
- name: Cache SBT
uses: actions/cache@v2
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Build and test
env:
FAPI_API_KEY: ${{ secrets.FAPI_API_KEY }}
FAPI_SECRET_KEY: ${{ secrets.FAPI_SECRET_KEY }}
SPOT_API_KEY: ${{ secrets.SPOT_API_KEY }}
SPOT_SECRET_KEY: ${{ secrets.SPOT_SECRET_KEY }}
run: sbt ++${{ matrix.scala }} e2e:test
shell: bash
timeout-minutes: 10