diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index aef8006b4a84..4fb357fe2e7c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -15,8 +15,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 38d7e922c4cd..efb7abf30066 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,11 +13,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' - - name: Install sbt - if: matrix.os == 'macos-latest' - run: brew install sbt + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - name: Install php if: matrix.os == 'macos-latest' run: brew install php @@ -55,8 +54,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - uses: actions/cache@v4 with: path: | @@ -69,6 +70,8 @@ jobs: if: ${{ failure() }} - name: Validate CITATION.cff uses: dieghernan/cff-validator@v3 + with: + install-r: true test-scripts: runs-on: ubuntu-latest @@ -79,8 +82,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - uses: actions/cache@v4 with: path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3f544f609161..83b1b3bf6fd8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,8 +15,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - run: sudo apt update && sudo apt install -y gnupg - run: echo $PGP_SECRET | base64 --decode | gpg --batch --import env: diff --git a/.github/workflows/upgrade-deps.yml b/.github/workflows/upgrade-deps.yml index fd10ff676fdb..2d3e887805c8 100644 --- a/.github/workflows/upgrade-deps.yml +++ b/.github/workflows/upgrade-deps.yml @@ -17,8 +17,10 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '21' + distribution: temurin + java-version: 21 + cache: sbt + - uses: sbt/setup-sbt@v1 - uses: actions/cache@v4 with: path: |