Skip to content

Commit

Permalink
enable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Mar 15, 2024
1 parent 9b292f7 commit 8f5ee4d
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 24 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci-delta-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Unit tests
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-delta-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Unit tests
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-delta-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Add hosts to /etc/hosts
run: |
sudo echo "127.0.0.1 other.my-domain.com" | sudo tee -a /etc/hosts
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-delta-ship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Unit tests
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-delta-static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Static analysis
run: |
sbt -Dsbt.color=always -Dsbt.supershell=false \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-docs-ext-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-release-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Set up proxy for docker buildx
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci-release-sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Publish To Sonatype
run: sbt -Dsbt.color=always -Dsbt.supershell=false ci-release
1 change: 1 addition & 0 deletions .github/workflows/ci-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Set up proxy for docker buildx
run: |
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/ci-storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
check-latest: true
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: StaticAnalysis
run: sbt -Dsbt.color=always -Dsbt.supershell=false "project storage" clean scalafmtCheck Test/scalafmtCheck scalafmtSbtCheck scapegoat
- name: Tests
Expand Down

0 comments on commit 8f5ee4d

Please sign in to comment.