diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 9a2e0ce..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,47 +0,0 @@ -# Scala CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/sample-config/ for more details -# -version: 2 -jobs: - "server": - docker: - # specify the version you desire here - - image: circleci/openjdk:8 - - # Specify service dependencies here if necessary - # CircleCI maintains a library of pre-built images - # documented at https://circleci.com/docs/2.0/circleci-images/ - # - image: circleci/postgres:9.4 - - working_directory: ~/repo - - environment: - # Customize the JVM maximum heap limit - JVM_OPTS: -Xmx3200m -Xss4m - TERM: dumb - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "build.sbt" }} - # fallback to using the latest cache if no exact match is found - - v1-dependencies- - - - run: cat /dev/null | sbt test:compile - - - save_cache: - paths: - - ~/.m2 - key: v1-dependencies--{{ checksum "build.sbt" }} - - # run tests! - - run: cat /dev/null | sbt clean validate -workflows: - version: 2 - build: - jobs: - - "server" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f87f68c --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: Scala CI + +on: + push: + branches: [ "master", "scala3" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: 'sbt' + - name: Run tests + run: sbt test + # Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository +# - name: Upload dependency graph +# uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91 \ No newline at end of file