Update sbt to 1.10.5 #4471
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
paths-ignore: | |
- 'jsoniter-scala-examples/**' | |
- '**.md' | |
branches-ignore: | |
- "gh-pages" | |
pull_request: | |
paths-ignore: | |
- 'jsoniter-scala-examples/**' | |
- '**.md' | |
branches-ignore: | |
- "gh-pages" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
java: | |
- 11 | |
- 21 | |
os: | |
- ubuntu-latest # FIXME: restore build on MacOS and Windows | |
fail-fast: false | |
steps: | |
- name: Install Boehm GC for Scala Native # FIXME: Remove after fixing of https://github.com/scala-native/scala-native/issues/4032 | |
run: sudo apt-get update && sudo apt-get install -y libgc-dev | |
- name: Configure git | |
run: "git config --global core.autocrlf false" | |
shell: bash | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 300 | |
- name: Fetch tags | |
run: git fetch --depth=300 origin +refs/tags/*:refs/tags/* | |
- uses: coursier/cache-action@v6 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "adopt" | |
java-version: ${{ matrix.java }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- name: Test and Check Binary Compatibility | |
run: "sbt -batch +test +mimaReportBinaryIssues" | |
shell: bash |