Skip to content

Commit

Permalink
Update GH Action versions and test against PostGIS 13-3.3 and 16-3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ljdelight committed May 26, 2024
1 parent 891210e commit b63be2b
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scala CI
name: MapRoulette Backend CI

on:
push:
Expand All @@ -17,18 +17,18 @@ jobs:
sbt_formatChecks_dependencyTree:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
cache: sbt
- name: Create sbt dependencyTree
env:
CI: true
run: |
sbt -Dsbt.log.format=false 'set asciiGraphWidth := 10000' 'dependencyTree'
- name: Verify scalafix passes
sbt -Dsbt.log.format=false 'set asciiGraphWidth := 10000' 'dependencyTree' 'evicted'
- name: Verify code format checks pass
env:
CI: true
run: |
Expand All @@ -38,8 +38,8 @@ jobs:
runs-on: ubuntu-latest
needs: generate_app_secret
services:
postgis11:
image: postgis/postgis:13-3.3
postgis:
image: postgis/postgis:16-3.4
ports:
- 5432:5432
env:
Expand All @@ -50,12 +50,13 @@ jobs:
matrix:
java: [ 11 ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: sbt
- name: Run sbt tests with jacoco analysis
env:
APPLICATION_SECRET: ${{ needs.generate_app_secret.outputs.application_secret }}
Expand All @@ -70,7 +71,7 @@ jobs:
runs-on: ubuntu-latest
needs: generate_app_secret
services:
postgis11:
postgis:
image: postgis/postgis:13-3.3
ports:
- 5432:5432
Expand All @@ -82,16 +83,17 @@ jobs:
matrix:
java: [11]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: 'osmlab/maproulette-java-client'
path: 'java-client'
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
cache: sbt
- name: Run sbt compile
env:
CI: true
Expand Down

0 comments on commit b63be2b

Please sign in to comment.