mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-26 07:32:33 +01:00
* Upgrade cache action to v3 * Make unique cache names * Empty commit to run CI * Empty commit to re-run CI
32 lines
767 B
YAML
32 lines
767 B
YAML
name: Compile & Formatting
|
|
env:
|
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
compile:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Scala
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'adopt'
|
|
java-version: '17'
|
|
cache: 'sbt'
|
|
- name: Cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: |
|
|
~/.ivy2/cache
|
|
~/.sbt
|
|
~/.bitcoin-s/binaries
|
|
key: ${{ runner.os }}-compile-cache
|
|
- name: Compile and Check Formatting
|
|
run: sbt -J-Xmx2g +test:compile scalafmtCheckAll docs/mdoc
|