Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/scripts/ci.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .github/scripts/gpg-setup.sh

This file was deleted.

40 changes: 26 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-latest", "macos-13", "windows-latest"]
OS: ["ubuntu-latest", "macos-15", "windows-latest"]
steps:
- uses: actions/checkout@v5
with:
Expand All @@ -24,10 +24,27 @@ jobs:
- uses: coursier/setup-action@v1.3
with:
jvm: 21
apps: sbt
- name: Test
run: ./.github/scripts/ci.sh
shell: bash
run: ./mill -i __.test

mima:
runs-on: ${{ matrix.OS }}
name: Test ${{ matrix.OS }}
strategy:
fail-fast: false
matrix:
OS: ["ubuntu-latest", "macos-15", "windows-latest"]
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1.3
with:
jvm: 21
- name: Test
run: ./mill -i __.mimaReportBinaryIssues

publish:
if: github.event_name == 'push'
Expand All @@ -41,15 +58,10 @@ jobs:
- uses: coursier/setup-action@v1.3
with:
jvm: 21
apps: sbt sbtn
- run: .github/scripts/gpg-setup.sh
shell: bash
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
- name: Release
run: sbtn ci-release
run: ./mill -i mill.scalalib.SonatypeCentralPublishModule/
env:
PGP_SECRET: ${{ secrets.PUBLISH_SECRET_KEY }}
PGP_PASSPHRASE: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MILL_PGP_SECRET_BASE64: ${{ secrets.PUBLISH_SECRET_KEY }}
MILL_PGP_PASSPHRASE: ${{ secrets.PUBLISH_SECRET_KEY_PASSWORD }}
MILL_SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MILL_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
target/
out/
.bsp/
.metals/
.vscode/
Expand Down
Loading