Skip to content

Commit 284b4a9

Browse files
authored
Use sbt-extras as runner (#214)
1 parent bd658e2 commit 284b4a9

File tree

4 files changed

+676
-12
lines changed

4 files changed

+676
-12
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
lint:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-24.04
1414
timeout-minutes: 10
1515
steps:
1616
- name: Checkout current branch
@@ -24,10 +24,10 @@ jobs:
2424
- name: Cache Scala dependencies
2525
uses: coursier/cache-action@v6
2626
- name: Check code formatting
27-
run: sbt check
27+
run: ./sbt check
2828

2929
test:
30-
runs-on: ubuntu-latest
30+
runs-on: ubuntu-24.04
3131
timeout-minutes: 10
3232
strategy:
3333
fail-fast: false
@@ -46,10 +46,10 @@ jobs:
4646
- name: Cache Scala dependencies
4747
uses: coursier/cache-action@v6
4848
- name: Run tests
49-
run: sbt ++${{ matrix.scala }}! test
49+
run: ./sbt ++${{ matrix.scala }}! test
5050

5151
website:
52-
runs-on: ubuntu-latest
52+
runs-on: ubuntu-24.04
5353
timeout-minutes: 10
5454
steps:
5555
- name: Checkout current branch
@@ -63,7 +63,7 @@ jobs:
6363
- name: Cache Scala dependencies
6464
uses: coursier/cache-action@v6
6565
- name: Check website generation
66-
run: sbt docs/docusaurusCreateSite
66+
run: ./sbt docs/docusaurusCreateSite
6767

6868
publish-local:
6969
runs-on: ubuntu-22.04
@@ -80,10 +80,10 @@ jobs:
8080
- name: Cache scala dependencies
8181
uses: coursier/cache-action@v6
8282
- name: Check that building packages works
83-
run: sbt +publishLocal
83+
run: ./sbt +publishLocal
8484

8585
ci:
86-
runs-on: ubuntu-latest
86+
runs-on: ubuntu-24.04
8787
needs: [lint, test, website, publish-local]
8888
steps:
8989
- name: Aggregate outcomes

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
timeout-minutes: 10
1212
steps:
1313
- name: Checkout current branch
@@ -21,6 +21,6 @@ jobs:
2121
java-version: 17
2222
check-latest: true
2323
- name: Deploy to GitHub Pages
24-
run: sbt docs/docusaurusPublishGhpages
24+
run: ./sbt docs/docusaurusPublishGhpages
2525
env:
2626
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Checkout current branch
1313
uses: actions/checkout@v4.2.0
@@ -22,7 +22,7 @@ jobs:
2222
- name: Cache Scala dependencies
2323
uses: coursier/cache-action@v6
2424
- name: Release artifacts
25-
run: sbt ci-release
25+
run: ./sbt ci-release
2626
env:
2727
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2828
PGP_SECRET: ${{ secrets.PGP_SECRET }}

0 commit comments

Comments
 (0)