This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Upgrade postgresql from 42.7.2 to 42.7.3 #544
Workflow file for this run
This file contains 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: PR Validation | |
on: [push, pull_request] | |
jobs: | |
scalaFmt: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Cache SBT & ivy cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.sbt | |
~/.cache/coursier/v1 | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }} | |
- name: Check formatting | |
run: sbt scalafmtCheckAll | |
test: | |
name: Compile and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v1 | |
with: | |
java-version: '11' | |
- name: Cache SBT & ivy cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.sbt | |
~/.cache/coursier/v1 | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/build.sbt') }}-${{ hashFiles('**/plugins.sbt') }}-${{ hashFiles('**/build.properties') }} | |
- name: Compile and test | |
run: sbt test | |
merge: | |
name: Merge dependency update | |
if: github.actor == 'scala-steward' || github.actor == 'JannikArndt' | |
needs: | |
- scalaFmt | |
- test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Merge PR | |
uses: desbo/merge-pr-action@v0 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ALLOWED_UPDATE: minor | |
MERGE_METHOD: squash |