6502-opcodes/.github/workflows/scala.yml

32 lines
500 B
YAML
Raw Normal View History

2021-04-05 16:16:41 +00:00
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'
2021-04-05 16:21:06 +00:00
2021-04-05 16:16:41 +00:00
- name: Cache sbt
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.cache/coursier/v1
key: scala
2021-04-05 16:21:06 +00:00
2021-04-05 16:16:41 +00:00
- name: Run tests
2022-02-15 16:47:30 +00:00
run: sbt +scalafmtCheck "+test"