Skip to content

Commit

Permalink
Update SBT-dependent actions pipelines with explicit sbt binaries set…
Browse files Browse the repository at this point in the history
…up step (#165)

* Update GitHub Actions pipelines sbt binaries explicit setup

* Add explicit SBT binaries setup to cookiesless pipeline
  • Loading branch information
oermolaev authored Jan 9, 2025
1 parent 50a5dab commit bce03a0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/cookieless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ jobs:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'corretto'
cache: sbt
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.9.9
- name: Publish Docker image
run: sbt 'project stdout; set Docker / version := "0.0.0"' docker:publishLocal
- name: Run Docker image
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,15 @@ jobs:
- uses: coursier/cache-action@v6

- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'corretto'
cache: sbt

- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.9.9

- name: Get current version
id: ver
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/telemetryIntegTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ jobs:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'corretto'
cache: sbt
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.9.9
- name: Set up python
uses: actions/setup-python@v2
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,14 @@ jobs:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v3
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'corretto'
cache: sbt
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.9.9
- name: Check formatting
run: sbt scalafmtCheckAll
- name: Run unit tests
Expand Down

0 comments on commit bce03a0

Please sign in to comment.