Skip to content

Commit

Permalink
ci: Migrate CI from Circle CI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
NomadBlacky committed Jun 13, 2021
1 parent b9eabdc commit c49ff82
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 57 deletions.
57 changes: 0 additions & 57 deletions .circleci/config.yml

This file was deleted.

34 changes: 34 additions & 0 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Scala CI

on: [push, pull_request]

jobs:
scalafmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v6
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
- name: Check scalafmt
run: ./sbt scalafmtCheckAll scalafmtSbtCheck
test:
strategy:
matrix:
java:
- 8
- 11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: coursier/cache-action@v6
- name: Set up JDK ${ matrix.java }
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: ${ matrix.java }
- name: Run tests
run: ./sbt +test
Binary file added sbt
Binary file not shown.

0 comments on commit c49ff82

Please sign in to comment.