mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-26 15:42:49 +01:00
26 lines
591 B
YAML
26 lines
591 B
YAML
|
name: Compile & Formatting
|
||
|
env:
|
||
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
|
||
|
jobs:
|
||
|
compile:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
- name: Setup Scala
|
||
|
uses: olafurpg/setup-scala@v10
|
||
|
- name: Cache
|
||
|
uses: actions/cache@v2
|
||
|
with:
|
||
|
path: |
|
||
|
~/.ivy2/cache
|
||
|
~/.sbt
|
||
|
~/.bitcoin-s/binaries
|
||
|
key: ${{ runner.os }}-cache
|
||
|
- name: Compile and Check Formatting
|
||
|
run: sbt ++2.12.12 test:compile scalafmtCheckAll
|