You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by ch...@apache.org on 2025/07/06 08:46:15 UTC
(fory) branch main updated: chore(Scala): use setup-sbt CI action (#2387)
This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new ae0ad7a3 chore(Scala): use setup-sbt CI action (#2387)
ae0ad7a3 is described below
commit ae0ad7a3f941c1b8084ad1c85aec55aa3d699c21
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Jul 6 09:46:12 2025 +0100
chore(Scala): use setup-sbt CI action (#2387)
* much easier way to install sbt
---
.github/workflows/ci.yml | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a217ea7e..27c61bc6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -173,20 +173,12 @@ jobs:
with:
java-version: 11
distribution: "temurin"
+ cache: sbt
+ - uses: sbt/setup-sbt@v1
- name: Install fory java
run: cd java && mvn -T10 --no-transfer-progress clean install -DskipTests && cd -
- name: Test
run: |
- sudo apt-get update
- sudo apt-get install apt-transport-https curl gnupg -yqq
- echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
- echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
- curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo -H gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/scalasbt-release.gpg --import
- sudo chmod 644 /etc/apt/trusted.gpg.d/scalasbt-release.gpg
- sudo apt-get update
- sudo apt-get install sbt
- # Avoid sbt download jackson-databind error
- rm -rf /home/runner/.m2/repository/com/fasterxml/jackson/
cd scala && sbt +test && cd -
integration_tests:
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org