From 388b4c20b58bc464bf0cfb1870cd961393651262 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 8 Nov 2020 18:51:05 -0500 Subject: [PATCH] Preparatory GitHub Actions This runs existing actions and then echoes hello --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..ecbdf8a0c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: CI +on: + pull_request: + push: + +jobs: + test: + strategy: + matrix: + include: + - os: ubuntu-latest + java: 8 + jobtype: 1 + - os: ubuntu-latest + java: 11 + jobtype: 1 + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Setup + uses: olafurpg/setup-scala@v10 + with: + java-version: "adopt@1.${{ matrix.java }}" + - name: Coursier cache + uses: coursier/cache-action@v5 + - name: Cache sbt + uses: actions/cache@v1 + with: + path: ~/.sbt + key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} + - name: Build and test + run: echo hello GitHub