fix: Port already bound Error #1890
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
# This file was autogenerated using `zio-sbt-ci` plugin via `sbt ciGenerateGithubWorkflow` | |
# task and should be included in the git repository. Please do not edit it manually. | |
name: CI | |
env: | |
JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags | |
JVM_OPTS: -XX:+PrintCommandLineFlags | |
'on': | |
workflow_dispatch: {} | |
release: | |
types: | |
- published | |
push: {} | |
pull_request: {} | |
create: {} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: Git Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: '0' | |
- name: Install libuv | |
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | |
- name: Setup Scala | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: '8' | |
check-latest: true | |
- name: Cache Dependencies | |
uses: coursier/cache-action@v6 | |
- name: Check all code compiles | |
run: sbt +Test/compile | |
- name: Check artifacts build process | |
run: sbt +publishLocal | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
steps: | |
- name: Git Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: '0' | |
- name: Install libuv | |
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | |
- name: Setup Scala | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: '8' | |
check-latest: true | |
- name: Cache Dependencies | |
uses: coursier/cache-action@v6 | |
- name: Check if the site workflow is up to date | |
run: sbt ciCheckGithubWorkflow | |
- name: Lint | |
run: sbt lint | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
strategy: | |
fail-fast: false | |
matrix: | |
java: | |
- '8' | |
scala-project: | |
- ++2.13.8 zio-quickstart-encode-decode-json | |
- ++2.13.13 zio-quickstart-sql | |
- ++2.13.13 zio-quickstart-prelude | |
steps: | |
- name: Install libuv | |
run: sudo apt-get update && sudo apt-get install -y libuv1-dev | |
- name: Setup Scala | |
uses: actions/[email protected] | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
check-latest: true | |
- name: Cache Dependencies | |
uses: coursier/cache-action@v6 | |
- name: Git Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: '0' | |
- name: Test | |
run: sbt ${{ matrix.scala-project }}/test | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
continue-on-error: false | |
needs: | |
- lint | |
- test | |
- build | |
steps: | |
- name: Report Successful CI | |
run: echo "ci passed" |