Skip to content

Commit

Permalink
fix: sbt installed explicitly in the runner image in the setup stage (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
coutoPL authored Jan 8, 2025
1 parent 9728145 commit 87b9c87
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- uses: coursier/setup-action@v1
with:
java-version: "[email protected]"
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Run benchmarks
run: |
bash -c "export NUSSKNACKER_SCALA_VERSION=2.12 && sbt \"benchmarks/test:runMain pl.touk.nussknacker.engine.benchmarks.e2e.FlinkSteamingScenarioBenchmark 10000000\""
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benchmark-jmh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Scala
uses: olafurpg/setup-scala@v10
- uses: coursier/setup-action@v1
with:
java-version: "[email protected]"
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Run benchmarks
run: sbt "benchmarks/jmh:run -i 8 -wi 3 -f1 -t1 -rf csv"
- name: Store benchmark results
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
if: ${{ env.shouldPerformBackendBuild == 'true' }}
with:
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Cache ivy packages
if: ${{ env.shouldPerformBackendBuild == 'true' }}
uses: actions/cache@v3
Expand Down Expand Up @@ -191,6 +192,7 @@ jobs:
- name: Untar artifacts
shell: bash
run: tar xfz target.tgz
- uses: sbt/setup-sbt@v1
- name: Cache ivy packages
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -230,6 +232,7 @@ jobs:
- uses: coursier/setup-action@v1
with:
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Cache ivy packages
uses: actions/cache@v3
with:
Expand All @@ -245,6 +248,7 @@ jobs:
- name: Untar artifacts
shell: bash
run: tar xfz target.tgz
- uses: sbt/setup-sbt@v1
- name: Integration tests
shell: bash
env:
Expand Down Expand Up @@ -277,6 +281,7 @@ jobs:
- uses: coursier/setup-action@v1
with:
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Cache ivy packages
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -541,6 +546,7 @@ jobs:
- uses: coursier/setup-action@v1
with:
jvm: temurin:1.11.0.17
- uses: sbt/setup-sbt@v1
- name: Cache ivy packages
uses: actions/cache@v3
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:
with:
node-version: ${{ steps.nvm.outputs.NODE_VERSION }}

- uses: sbt/setup-sbt@v1

- name: Cache ivy packages
uses: actions/cache@v3
with:
Expand Down

0 comments on commit 87b9c87

Please sign in to comment.