Upgrade Scala to 3.7.1 and use Scala 3 code format style (#899) #159
  
    
      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: Snapshot Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.scala' | |
| - '**.java' | |
| - '**.sbt' | |
| tag: | |
| - '!v*' | |
| jobs: | |
| publish_snapshots: | |
| name: Publish snapshots | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 10000 | |
| # Fetch all tags so that sbt-dynver can find the previous release version | |
| - run: git fetch --tags | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: 11 | |
| distribution: adopt | |
| - name: Publish snapshots | |
| env: | |
| SONATYPE_USERNAME: '${{ secrets.SONATYPE_USERNAME }}' | |
| SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASSWORD }}' | |
| run: ./sbt publish |