Skip to content

Update shapeless to 2.3.13 #243

Update shapeless to 2.3.13

Update shapeless to 2.3.13 #243

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
JDK: ["8", "21"]
SCALA_VERSION: ["2.12.20", "2.13.16"]
name: Test (JDK ${{ matrix.JDK }}, Scala ${{ matrix.SCALA_VERSION }})
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1.3.9
with:
jvm: 8
apps: sbt sbtn
env:
JDK: ${{ matrix.JDK }}
- name: Compile
run: |
sbtn ++$SCALA_VERSION test
sbtn ++$SCALA_VERSION test-proj-v1/publishLocal
sbtn ++$SCALA_VERSION test-proj-v2/mimaReportBinaryIssues
sbtn ++$SCALA_VERSION proj-v1-user/compile
env:
SCALA_VERSION: ${{ matrix.SCALA_VERSION }}
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1.3.9
with:
jvm: 8
apps: sbt scalafmt
- name: Check formatting
run: scalafmt --test
publish:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1.3.9
with:
jvm: 8
apps: sbt sbtn
- run: .github/scripts/gpg-setup.sh
shell: bash
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
- name: Release
run: sbtn ci-release
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
PGP_PASSPHRASE: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.PUBLISH_USER }}
SONATYPE_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}