Skip to content

Commit

Permalink
Fix compatibility workflow to run on ubuntu-latest (#2548)
Browse files Browse the repository at this point in the history
* ci: Add setup-sbt action

Required for ubuntu-24/ubuntu-latest

Signed-off-by: Josh Soref <[email protected]>

* ci: Update actions to current major versions

Signed-off-by: Josh Soref <[email protected]>

---------

Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref authored Feb 12, 2025
1 parent 86f13fa commit 276a2ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,23 @@ on:
- apollo-compatibility/**
- federation/**
- adapters/quick/**
- .github/workflows/compatibility.yaml

jobs:
compatibility:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Java
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Run assembly
Expand Down

0 comments on commit 276a2ab

Please sign in to comment.