diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b945168..5c9cd88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,19 +1,25 @@ -name: CI - +name: test on: - pull_request: push: - branches: ['main'] - tags: ['v[0-9]'] - + branches: + - main + pull_request: jobs: - build: + test: + strategy: + fail-fast: false runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 8 + - uses: coursier/setup-action@v1 with: - distribution: 'temurin' - java-version: '8' - cache: 'sbt' - - run: sbt +test scripted mimaReportBinaryIssues + apps: sbt + - uses: coursier/cache-action@v6 + - name: test + run: sbt +test scripted mimaReportBinaryIssues diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d63b669..99c19dc 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,11 +16,14 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - uses: coursier/cache-action@v6 + - uses: coursier/setup-action@v1 + with: + apps: sbt - uses: actions/setup-java@v4 with: - distribution: 'temurin' - java-version: '8' - cache: 'sbt' + distribution: temurin + java-version: 8 - name: Publish artifacts run: sbt ci-release