diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 927d7c5..b57d832 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,26 +9,25 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: coursier/setup-action@v1 with: - java-version: 8 - distribution: temurin + jvm: temurin:8 - run: ./scalafmt --test template-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: coursier/setup-action@v1 with: - java-version: 8 - distribution: temurin + jvm: temurin:8 + - uses: sbt/setup-sbt@v1 - run: sbt test migration-rules: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: coursier/setup-action@v1 with: - java-version: 8 - distribution: temurin + jvm: temurin:8 + - uses: sbt/setup-sbt@v1 - run: ls -1 migration-rules | xargs -I{} sh -c 'cd migration-rules/{} && sbt test'