Update sbt-avrohugger to 2.5.6 #1669
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
env: | |
CI: true | |
CI_SNAPSHOT_RELEASE: +publishSigned | |
SCALA_VERSION: 2.13.10 | |
MUNIT_FLAKY_OK: true | |
jobs: | |
validate: | |
name: Scala ${{ matrix.scala }}, Java ${{ matrix.java }} | |
if: "!contains(github.event.head_commit.message, 'skip ci') && !contains(github.event.head_commit.message, 'ci skip')" | |
runs-on: ubuntu-20.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [[email protected]] | |
scala: [2.13.10] | |
env: | |
SCALA_VERSION: ${{ matrix.scala }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Cache Coursier | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/coursier | |
key: sbt-coursier-cache | |
- name: Cache SBT | |
uses: actions/cache@v2 | |
with: | |
path: ~/.sbt | |
key: sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Check copyright headers | |
run: sbt ++$SCALA_VERSION headerCheck | |
- name: Compile | |
run: sbt ++$SCALA_VERSION test:compile | |
- name: Start docker-compose | |
run: docker-compose up -d | |
- name: Test | |
run: sbt ++$SCALA_VERSION test | |
- name: Scaladoc | |
run: sbt ++$SCALA_VERSION doc | |
docs: | |
name: Doc Site | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: olafurpg/setup-scala@v10 | |
- name: Cache Coursier | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/coursier | |
key: sbt-coursier-cache | |
- name: Cache SBT | |
uses: actions/cache@v2 | |
with: | |
path: ~/.sbt | |
key: sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Check formatting | |
run: sbt ++$SCALA_VERSION scalafmtCheckAll | |
- name: Set up Ruby 2.6 | |
uses: actions/setup-ruby@v1 | |
with: | |
ruby-version: 2.6 | |
- name: Install Jekyll | |
run: | | |
gem install bundler | |
bundle install --gemfile=site/Gemfile | |
- name: Start docker-compose | |
run: docker-compose up -d | |
- name: Build project site | |
run: sbt ++$SCALA_VERSION site/makeMicrosite |