Skip to content

Commit

Permalink
CI: setup-sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
horothesun committed Oct 13, 2024
1 parent 979b1b3 commit a8ef889
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ jobs:
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "temurin"
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: ${{ env.SBT_VERSION }}

- name: Scalafmt check
run: |
Expand Down Expand Up @@ -149,6 +152,9 @@ jobs:
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: "temurin"
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: ${{ env.SBT_VERSION }}

- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 horothesun
Copyright (c) 2024 horothesun

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions src/main/g8/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
with:
java-version: \${{ env.JAVA_VERSION }}
distribution: "temurin"
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: \${{ env.SBT_VERSION }}

- name: Scalafmt check
run: sbt scalafmtSbtCheck scalafmtCheck Test/scalafmtCheck
Expand Down
2 changes: 1 addition & 1 deletion src/main/g8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG JAVA_VERSION=21

FROM eclipse-temurin:\${JAVA_VERSION}-jdk-jammy as builder

ARG SBT_VERSION=1.9.8
ARG SBT_VERSION=1.10.2

# install dependencies
RUN apt-get update && apt-get install -y curl bash tar ca-certificates make git procps \
Expand Down

0 comments on commit a8ef889

Please sign in to comment.