Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #61 from shopstic/feature/ci-fix
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
kitlangton authored Apr 24, 2021
2 parents 7acc11c + b379341 commit df78827
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/branch-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ jobs:
path: ~/.jabba
key: ${{ runner.os }}-jabba-${{ hashFiles('build.sbt') }}
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Compile and test
run: |
csbt \
'set core / Compile / scalacOptions += "-Werror"' \
'set macros / Compile / scalacOptions += "-Werror"' \
sbt \
'set core.jvm / Compile / scalacOptions += "-Werror"' \
'set core.js / Compile / scalacOptions += "-Werror"' \
'set macros.jvm / Compile / scalacOptions += "-Werror"' \
'set macros.js / Compile / scalacOptions += "-Werror"' \
compile \
test \
< /dev/null
test
14 changes: 6 additions & 8 deletions .github/workflows/master-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ jobs:
path: ~/.jabba
key: ${{ runner.os }}-jabba-${{ hashFiles('build.sbt') }}
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Compile and test
run: |
csbt \
'set core / Compile / scalacOptions += "-Werror"' \
'set macros / Compile / scalacOptions += "-Werror"' \
sbt \
'set core.jvm / Compile / scalacOptions += "-Werror"' \
'set core.js / Compile / scalacOptions += "-Werror"' \
'set macros.jvm / Compile / scalacOptions += "-Werror"' \
'set macros.js / Compile / scalacOptions += "-Werror"' \
compile \
test \
< /dev/null
test

0 comments on commit df78827

Please sign in to comment.