GraphLike: override hashCode. #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [ push, pull_request ] | |
jobs: | |
cross-build: | |
strategy: | |
fail-fast: false | |
matrix: | |
scala: [ '2.13.15', '3.3.0' ] | |
project: [ core, dot, json ] | |
exclude: | |
- scala: '3.3.0' | |
project: json | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: JDK with SBT caching | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- name: Test | |
run: | | |
sbt ++${{ matrix.scala }} ${{ matrix.project }}/test scalafmtCheckAll | |
others: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: JDK with SBT caching | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: sbt | |
- uses: sbt/setup-sbt@v1 | |
- name: Scala 3 Rewrite | |
run: | | |
sbt "project coreTestScala3" test Test/scalafmt |