Fix scala-cli builds when no tests are defined #381
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: Infra CI | |
on: | |
pull_request: | |
paths-ignore: | |
- '.github/actions/**' | |
- '.github/workflows/build*' | |
jobs: | |
test-build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v4 | |
- name: Test mill scalafix rules | |
run: cd project-builder/mill/scalafix && sbt test | |
- name: Start minikube | |
run: minikube start | |
- name: Build up base docker images | |
env: | |
BUILD_ONLY_DEFAULT_JDK: true | |
run: | | |
eval $(minikube -p minikube docker-env) | |
scripts/build-all.sh test | |
- name: Test build | |
run: scripts/test-build.sh | |