Skip to content

Commit

Permalink
Merge pull request #68 from xuwei-k/patch-4
Browse files Browse the repository at this point in the history
CIでの明示的なsbtのinstall手順削除
  • Loading branch information
windymelt authored Jan 27, 2024
2 parents a99470f + 19da2a2 commit c7f887d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- name: Install sbt
run: curl -Ls https://raw.githubusercontent.com/dwijnand/sbt-extras/master/sbt > /bin/sbt && chmod 0755 /bin/sbt
- uses: coursier/cache-action@v6
- name: sbt scalafmtAll
run: /bin/sbt scalafmtAll
run: sbt scalafmtAll
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply scalafmt
Expand All @@ -41,8 +39,6 @@ jobs:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
cache: 'sbt'
- name: Install sbt
run: curl -Ls https://raw.githubusercontent.com/dwijnand/sbt-extras/master/sbt > /bin/sbt && chmod 0755 /bin/sbt
- uses: coursier/cache-action@v6
- name: Test
run: /bin/sbt test
run: sbt test

0 comments on commit c7f887d

Please sign in to comment.