Skip to content

Commit 2606a74

Browse files
authored
Merge pull request #309 from sbt/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2 parents cc21e95 + 39a562d commit 2606a74

File tree

2 files changed

+25
-18
lines changed

2 files changed

+25
-18
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1-
name: CI
2-
1+
name: test
32
on:
4-
pull_request:
53
push:
6-
branches: ['main']
7-
tags: ['v[0-9]']
8-
4+
branches:
5+
- main
6+
pull_request:
97
jobs:
10-
build:
8+
test:
9+
strategy:
10+
fail-fast: false
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: actions/setup-java@v4
15-
with:
16-
distribution: 'temurin'
17-
java-version: '8'
18-
cache: 'sbt'
19-
- run: sbt +test scripted mimaReportBinaryIssues
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-java@v4
17+
with:
18+
distribution: temurin
19+
java-version: 8
20+
cache: sbt
21+
- uses: sbt/setup-sbt@v1
22+
- name: test
23+
run: sbt +test scripted mimaReportBinaryIssues

.github/workflows/publish.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ jobs:
1313
runs-on: ubuntu-22.04
1414
if: ${{ github.repository_owner == 'sbt' }}
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19+
- uses: coursier/cache-action@v6
20+
- uses: coursier/setup-action@v1
21+
with:
22+
apps: sbt
1923
- uses: actions/setup-java@v4
2024
with:
21-
distribution: 'temurin'
22-
java-version: '8'
23-
cache: 'sbt'
25+
distribution: temurin
26+
java-version: 8
2427

2528
- name: Publish artifacts
2629
run: sbt ci-release

0 commit comments

Comments
 (0)