Support mill 0.11.x #360
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@v3 | |
- 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 | |
test-cli: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- uses: coursier/setup-action@v1 | |
with: | |
apps: scala sbt mill:0.11.5 scala-cli:1.0.4 | |
- 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 CLI | |
run: scripts/test-cli.sh | |