From ad240bbd2b0e7a7c33b8a29d491186dd1561d6a5 Mon Sep 17 00:00:00 2001 From: Simmo Saan Date: Sun, 5 Jan 2025 12:01:07 +0200 Subject: [PATCH] Add GitHub dependencies CI job --- .github/workflows/sbt.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sbt.yml b/.github/workflows/sbt.yml index fe01cba6..b7324597 100644 --- a/.github/workflows/sbt.yml +++ b/.github/workflows/sbt.yml @@ -6,7 +6,6 @@ on: jobs: test: - runs-on: ubuntu-latest steps: @@ -20,3 +19,19 @@ jobs: - uses: sbt/setup-sbt@v1 - name: Test with SBT run: sbt test + + deps: + # if: github.head_ref == 'master' + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + distribution: 'zulu' + java-version: '21' + cache: 'sbt' + - uses: sbt/setup-sbt@v1 + - uses: scalacenter/sbt-dependency-submission@v2