diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a049cf3b22..26147b6333 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,18 +8,6 @@ concurrency: group: ${{ github.ref }}-ci cancel-in-progress: true jobs: - kotlin-runtime: - name: Test Kotlin - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Init Hermit - uses: cashapp/activate-hermit@v1 - - name: Build Cache - uses: ./.github/actions/build-cache - - name: Test - run: mvn -f kotlin-runtime/ftl-runtime -B test test: name: Test Go runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f46b29e21..626cccd9e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,41 +86,6 @@ jobs: docker tag ghcr.io/tbd54566975/ftl-controller:latest ghcr.io/tbd54566975/ftl-controller:"$GITHUB_SHA" docker tag ghcr.io/tbd54566975/ftl-controller:latest ghcr.io/tbd54566975/ftl-controller:"$version" docker push -a ghcr.io/tbd54566975/ftl-controller - release-jars: - name: Release JARs - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Init Hermit - uses: cashapp/activate-hermit@v1 - # Ideally we'd use Hermit's JDK, but this action creates the correct settings.xml for us. - - uses: actions/setup-java@v4 - with: - java-version: "11" - distribution: "temurin" - server-id: "ossrh" # must match the serverId configured for the nexus-staging-maven-plugin - server-username: OSSRH_USERNAME - server-password: OSSRH_PASSWORD - gpg-passphrase: SIGN_KEY_PASS - gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} - cache: "maven" - - name: Publish JARs # Snapshots are published first, then the tagged release - run: | - mvn -f kotlin-runtime/ftl-runtime -U -B clean deploy -P release - mvn -f kotlin-runtime/ftl-runtime -B versions:set -DnewVersion="$(git describe --tags --abbrev=0 | cut -c2-)" -DprocessAllModules -DgenerateBackupPoms=false - mvn -f kotlin-runtime/ftl-runtime -U -B clean deploy -P release - git clean -f ./*.flattened_pom.xml - env: - SIGN_KEY_PASS: ${{ secrets.GPG_SECRET_PASSPHRASE }} - OSSRH_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - OSSRH_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - GITHUB_TOKEN: ${{ github.token }} create-release: name: Release Go Binaries runs-on: ubuntu-latest diff --git a/buildengine/build_kotlin_test.go b/buildengine/build_kotlin_test.go index 2aa0add4e6..f84aa01967 100644 --- a/buildengine/build_kotlin_test.go +++ b/buildengine/build_kotlin_test.go @@ -1,3 +1,5 @@ +//go:build ignore + package buildengine import (