summaryrefslogtreecommitdiff
path: root/.github/workflows/actions.yaml
blob: 0a78809f36c8997a040c22e5d33fc59812f4cdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: CI

on: [push]

jobs:
  test:
    strategy:
      matrix:
        java-version: [8, 11]

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: coursier/cache-action@v5
      - name: Set up JDK ${{ matrix.java-version }}
        uses: actions/setup-java@v1
        with:
          java-version: ${{ matrix.java-version }}
      - name: Run tests
        run: ./mill server.test