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
12 changes: 0 additions & 12 deletions .github/actions/bootstrap-sbt-airframe/action.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/workflows/release-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build for Scala.js
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build for Scala Native
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/release-sbt-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# Break the release-time circular dependency: the root build's metabuild needs the
# sbt-airframe plugin to load, but sbt-airframe is what we're releasing. Publish it locally
# FIRST, before AIRFRAME_VERSION is set, so its own deps resolve from the last released
# airframe on Maven Central rather than the (not-yet-built) release version.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Get Airframe version
run: echo "AIRFRAME_VERSION=$(./scripts/dynver.sh)" >> $GITHUB_ENV
- name: Check Airframe version
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Build bundle
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/sbt-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
# The root build's metabuild needs the (not-yet-released) sbt-airframe plugin to load.
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Get Airframe version
run: echo "AIRFRAME_VERSION=$(./scripts/dynver.sh)" >> $GITHUB_ENV
- name: Check Airframe version
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
if: needs.changes.outputs.tests == 'true'
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: scalafmt in Scala 2.x
run: ./sbt "++ 2.13; scalafmtCheckAll"
- name: scalafmt in Scala 3
Expand All @@ -64,7 +63,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala 2.12 test
run: ./sbt "++2.12; projectJVM/test"
- name: Publish Test Report
Expand All @@ -86,7 +84,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala 2.13 test
run: ./sbt "++2.13; projectJVM/test"
- name: Publish Test Report
Expand All @@ -108,7 +105,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala 3.x test
# Test only Scala 3 supported projects
run: ./sbt "++ 3; projectDotty/test; dottyTest/run"
Expand All @@ -131,7 +127,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '21'
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala 3.7.x test
# Test only Scala 3 supported projects
run: SCALA_VERSION=3.7.1 ./sbt "projectDotty/test; dottyTest/run"
Expand All @@ -154,7 +149,6 @@ jobs:
with:
distribution: 'zulu'
java-version: '25'
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala 3 test
# Test only Scala 3 supported projects
run: ./sbt "++ 3; projectDotty/test; dottyTest/run"
Expand Down Expand Up @@ -186,7 +180,6 @@ jobs:
cache: 'pnpm'
- name: Node.js setup
run: ./scripts/setup-scalajs.sh
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Integration Test
run: ./sbt "++ 3; projectIt/test"
- name: Publish Test Report
Expand Down Expand Up @@ -217,7 +210,6 @@ jobs:
cache: 'pnpm'
- name: Node.js setup
run: ./scripts/setup-scalajs.sh
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala.js test
run: JVM_OPTS=-Xmx4g ./sbt "++ 2.12; projectJS/test"
- name: Publish Test Report
Expand Down Expand Up @@ -248,7 +240,6 @@ jobs:
cache: 'pnpm'
- name: Node.js setup
run: ./scripts/setup-scalajs.sh
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala.js test
run: JVM_OPTS=-Xmx4g ./sbt "++ 2.13; projectJS/test"
- name: Publish Test Report
Expand Down Expand Up @@ -279,7 +270,6 @@ jobs:
cache: 'pnpm'
- name: Node.js setup
run: ./scripts/setup-scalajs.sh
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala.js test
run: JVM_OPTS=-Xmx4g ./sbt "++ 3; projectJS/test"
- name: Publish Test Report
Expand All @@ -303,7 +293,6 @@ jobs:
java-version: '21'
- name: Install native dependencies
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- uses: ./.github/actions/bootstrap-sbt-airframe
- name: Scala Native test
run: JVM_OPTS=-Xmx4g ./sbt "++ 3; projectNative/test"
- name: Publish Test Report
Expand Down
9 changes: 4 additions & 5 deletions project/plugin.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,10 @@ addSbtPlugin("org.xerial.sbt" % "sbt-pack" % "1.0.0")
// as sbt-antlr4 has no sbt 2.x build
libraryDependencies += "org.antlr" % "antlr4" % "4.13.2"

// For integration testing.
// Defaults to the next sbt-airframe release. Until that is published to Maven Central,
// build sbt-airframe locally and point this at the snapshot:
// (cd sbt-airframe && ../sbt publishLocal)
// export SBT_AIRFRAME_VERSION=$(./scripts/dynver.sh)
// For integration testing (the integrationTest project uses AirframeHttpPlugin).
// Keep this pinned to a RELEASED sbt-airframe on Maven Central (like AIRSPEC_VERSION) — do NOT
// bump it to the in-development version, or the metabuild can't load while that version is being
// built (a release-time deadlock). Building sbt-airframe from this repo's source is not required.
val SBT_AIRFRAME_VERSION = sys.env.getOrElse("SBT_AIRFRAME_VERSION", "2026.2.2")
addSbtPlugin("org.wvlet.airframe" % "sbt-airframe" % SBT_AIRFRAME_VERSION)

Expand Down
Loading