2021-04-05 16:16:41 +00:00
|
|
|
on:
|
|
|
|
push:
|
2022-06-20 17:37:41 +00:00
|
|
|
branches: ['**']
|
2021-04-05 16:16:41 +00:00
|
|
|
|
|
|
|
jobs:
|
2023-01-02 18:45:35 +00:00
|
|
|
lint-and-test:
|
2023-01-02 18:37:14 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-04-05 16:16:41 +00:00
|
|
|
steps:
|
2023-01-02 18:37:14 +00:00
|
|
|
- uses: actions/checkout@v3
|
2022-06-20 17:37:41 +00:00
|
|
|
|
2023-01-02 18:37:14 +00:00
|
|
|
- uses: actions/setup-java@v3
|
2022-06-20 17:37:41 +00:00
|
|
|
with:
|
|
|
|
distribution: temurin
|
2023-01-02 18:37:14 +00:00
|
|
|
java-version: 17
|
|
|
|
cache: sbt
|
2021-04-05 16:21:06 +00:00
|
|
|
|
2023-01-02 18:37:14 +00:00
|
|
|
- run: sbt 'scalafixAll --check' scalafmtCheck +test
|