Skip to content

Update netty-all, netty-buffer to 4.1.108.Final #328

Update netty-all, netty-buffer to 4.1.108.Final

Update netty-all, netty-buffer to 4.1.108.Final #328

Workflow file for this run

name: CI-CD
on:
push:
branches: [ main ]
tags: [ "*" ]
paths-ignore:
- ".gitignore"
- ".bettercodehub.yml"
- ".scalafix.conf"
- "LICENSE"
- "README.md"
- "PULL_REQUEST_TEMPLATE.md"
- "scalastyle-config.xml"
- "stryker4s.conf"
pull_request:
paths-ignore:
- ".gitignore"
- ".bettercodehub.yml"
- ".scalafix.conf"
- "LICENSE"
- "README.md"
- "PULL_REQUEST_TEMPLATE.md"
- "scalastyle-config.xml"
- "stryker4s.conf"
jobs:
build:
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
cache: 'sbt'
- name: clean
run: make deep_clean
- name: build
run: |
./scripts/spark-cross-compile.sh
- name: test
run: |
./scripts/spark-cross-fmt.sh
./scripts/spark-cross-test.sh
- name: unit-test-coverage
run: make test_coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
- name: clean-up
run: |
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt
release:
needs: build
strategy:
fail-fast: true
runs-on: ubuntu-latest
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '8'
cache: 'sbt'
- name: release-staging
run: |
./scripts/spark-cross-publish.sh library true
./scripts/spark-cross-publish.sh testHelper true
./scripts/spark-cross-publish.sh libraryConfigsScallop true
if: startsWith(github.ref, 'refs/tags/') != true && github.ref == 'refs/heads/main'
- name: release-production
run: |
./scripts/spark-cross-publish.sh library
./scripts/spark-cross-publish.sh testHelper
./scripts/spark-cross-publish.sh libraryConfigsScallop
if: startsWith(github.ref, 'refs/tags/v')
- name: clean-up
run: |
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt