diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 00755ef3b..8208f8ae7 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -5,7 +5,7 @@ on: jobs: auto-approve: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: hmarr/auto-approve-action@v3.2.1 if: github.actor == 'scala-steward' diff --git a/.github/workflows/benchs.yml b/.github/workflows/benchs.yml index 3ace00c18..d092edc27 100644 --- a/.github/workflows/benchs.yml +++ b/.github/workflows/benchs.yml @@ -36,6 +36,8 @@ jobs: distribution: temurin java-version: 21 check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - uses: VirtusLab/scala-cli-setup@main - name: Use CI sbt jvmopts shell: bash diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3129bdc1f..0d0430b79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Check all code compiles @@ -62,10 +64,12 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - - name: Check if the site workflow is up to date - run: sbt ciCheckGithubWorkflow +# - name: Check if the site workflow is up to date +# run: sbt ciCheckGithubWorkflow - name: Lint run: sbt lint test: @@ -88,6 +92,8 @@ jobs: distribution: corretto java-version: ${{ matrix.java }} check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Git Checkout @@ -114,6 +120,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Generate Readme @@ -188,6 +196,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Release @@ -217,6 +227,8 @@ jobs: distribution: corretto java-version: '17' check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - name: Cache Dependencies uses: coursier/cache-action@v6 - name: Setup NodeJs diff --git a/.github/workflows/profile.yml b/.github/workflows/profile.yml index 5191dbe13..0285fb51d 100644 --- a/.github/workflows/profile.yml +++ b/.github/workflows/profile.yml @@ -24,6 +24,8 @@ jobs: distribution: temurin java-version: 21 check-latest: true + - name: Setup sbt + uses: sbt/setup-sbt@v1 - uses: coursier/cache-action@v6 - uses: VirtusLab/scala-cli-setup@main - name: Use CI sbt jvmopts diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 987bba4e1..c2d741431 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -6,7 +6,7 @@ on: jobs: update_release_draft: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v6 env: