Skip to content

Commit

Permalink
Merge pull request #309 from sbt/dependabot/github_actions/actions/ch…
Browse files Browse the repository at this point in the history
…eckout-4

Bump actions/checkout from 3 to 4
  • Loading branch information
SethTisue authored Oct 10, 2024
2 parents cc21e95 + 39a562d commit 2606a74
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 18 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
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@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'sbt'
- run: sbt +test scripted mimaReportBinaryIssues
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- name: test
run: sbt +test scripted mimaReportBinaryIssues
11 changes: 7 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,17 @@ jobs:
runs-on: ubuntu-22.04
if: ${{ github.repository_owner == 'sbt' }}
steps:
- uses: actions/checkout@v3
- 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
Expand Down

0 comments on commit 2606a74

Please sign in to comment.