6502-opcodes/.github/workflows/ci.yml
Mark Canlas 01f1eb20a6 rename
2022-06-20 11:58:31 -04:00

32 lines
500 B
YAML

name: Scala CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Cache sbt
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.cache/coursier/v1
key: scala
- name: Run tests
run: sbt +scalafmtCheck "+test"