Skip to content

Commit

Permalink
Replace setup-scala with setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippus committed Jan 20, 2022
1 parent ca45e0f commit ae7bc0d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ on:
branches:
- main
pull_request:


jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
- name: Code style
run: sbt scalafmtCheck
- name: Linting
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # fetch all tags, required for sbt-dynver
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand All @@ -21,7 +23,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v13
- uses: actions/setup-java@v2
with:
distribution: temurin
- name: Generate site
run: sbt makeSite
- uses: JamesIves/github-pages-deploy-action@4.1.8
Expand Down

0 comments on commit ae7bc0d

Please sign in to comment.