build: add info for publish #8
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: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Cleanup | |
run: sed -i "s/%NAME%/test/g" build.sc | |
- name: Setup Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: [email protected] | |
- name: Setup Mill | |
uses: jodersky/[email protected] | |
with: | |
mill-version: 0.9.7 | |
- name: Cache Scala | |
uses: coursier/cache-action@v5 | |
- name: mill Test | |
run: mill _.compile | |
- name: SBT Test | |
run: sbt test |