Skip to content

Update scalafmt-core to 3.7.13 #215

Update scalafmt-core to 3.7.13

Update scalafmt-core to 3.7.13 #215

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- v*
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
jdk: [8]
python: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@master
- uses: coursier/cache-action@v6.3
- uses: coursier/setup-action@v1
with:
jvm: ${{ matrix.jdk }}
apps: sbtn
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Test
run: sbt +test
shell: bash
publish:
runs-on: ubuntu-20.04
needs: [test]
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}