Skip to content

Commit

Permalink
use sbt action in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
scholarsmate committed Jan 21, 2025
1 parent 367bef6 commit 691e0dc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-middleware/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ runs:
cache: sbt
if: contains(inputs.os-name, 'macos-14')

- name: Install SBT - macos-13 & macos-14
shell: bash
run: brew install sbt
if: |
contains(inputs.os-name, 'macos-13') ||
contains(inputs.os-name, 'macos-14')
- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Make _install directory to store lib files 🔧
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
actions: read
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ratCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
distribution: temurin
java-version: 8

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Check out Repository 🛎️
uses: actions/checkout@v4

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ jobs:
java-version: 8
cache: sbt

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Make _install directory to store lib files
run: mkdir -p _install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
build:
name: Scala Code Format
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout Current Branch (full) 🛎️
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
scala-steward:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
name: Scala Steward 🔔
steps:
- name: Scala Steward 🔔
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ts-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
jobs:
build:
name: TypeScript code is properly formatted
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout current branch (full) 🛎️
uses: actions/checkout@v4
Expand Down

0 comments on commit 691e0dc

Please sign in to comment.