bitcoin-s/.github/workflows/Compile.yml
Chris Stewart ba4d21c495
Try pinning CI image to ubuntu 22.04 for now as a workaround until setup-java supports sbt installation (#5843)
* Try pinning CI image to ubuntu 22.04 for now as a workaround until setup-java supports sbt installation

* Switch everything else to ubuntu-22.04
2025-01-10 16:31:11 -06:00

34 lines
951 B
YAML

name: Compile & Formatting, Docs, Disabled Secp
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
on:
pull_request:
jobs:
compile:
runs-on: ubuntu-22.04
timeout-minutes: 60
env:
DISABLE_SECP256K1: "true"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Scala
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '21.0.4'
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 +test:compile scalafmtCheckAll cryptoTestJVM/test coreTestJVM/test appServer/universal:packageBin oracleServer/universal:packageBin cli/universal:packageBin docs/mdoc