diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81bd6b1..eccaaa9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -200,7 +200,41 @@ jobs: (echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1) - name: Publish - run: sbt '++ ${{ matrix.scala }}' tlRelease + run: sbt '++ ${{ matrix.scala }}' tlCiRelease + + validate-steward: + name: Validate Steward Config + strategy: + matrix: + os: [ubuntu-latest] + scala: [2.13.6] + java: [temurin@11] + runs-on: ${{ matrix.os }} + steps: + - name: Checkout current branch (fast) + uses: actions/checkout@v3 + + - name: Download Java (temurin@17) + id: download-java-temurin-17 + if: matrix.java == 'temurin@17' + uses: typelevel/download-java@v2 + with: + distribution: temurin + java-version: 17 + + - name: Setup Java (temurin@17) + if: matrix.java == 'temurin@17' + uses: actions/setup-java@v3 + with: + distribution: jdkfile + java-version: 17 + jdkFile: ${{ steps.download-java-temurin-17.outputs.jdkFile }} + + - uses: coursier/setup-action@v1 + with: + apps: scala-steward + + - run: scala-steward validate-repo-config .scala-steward.conf site: name: Generate Site diff --git a/core/build.sbt b/core/build.sbt index 756fc29..d0ccd6b 100644 --- a/core/build.sbt +++ b/core/build.sbt @@ -1,4 +1,4 @@ -val sbtTypelevelVersion = "0.4.18" // https://github.com/typelevel/sbt-typelevel/releases +val sbtTypelevelVersion = "0.4.20" // https://github.com/typelevel/sbt-typelevel/releases val sbtScoverageVersion = "2.0.6" // https://github.com/scoverage/sbt-scoverage/releases val sbtScalaNativeVersion = "0.4.10" // https://github.com/scala-native/scala-native/releases diff --git a/project/build.properties b/project/build.properties index 563a014..46e43a9 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.7.2 +sbt.version=1.8.2