Skip to content

Commit

Permalink
Upgrade jackson dependencies to 2.11.4 (as in play-json 2.8.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
cchantep committed Aug 30, 2022
1 parent 6bde9b0 commit 9e5f37f
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 82 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Check

on:
pull_request:

push:
branches:
- main # Check branch after merge

concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
check-code-style:
name: Code Style
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
cmd: sbt validateCode

check-binary-compatibility:
name: Binary Compatibility
uses: playframework/.github/.github/workflows/binary-check.yml@v2

check-docs:
name: Docs
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
cmd: sbt docs/validateDocs

tests:
name: Tests
needs:
- "check-code-style"
- "check-binary-compatibility"
- "check-docs"
uses: playframework/.github/.github/workflows/cmd.yml@v2
with:
java: 11, 8
scala: 2.12.16, 2.13.8
cmd: scripts/test-code.sh

finish:
name: Finish
if: github.event_name == 'pull_request'
needs: # Should be last
- "tests"
uses: playframework/.github/.github/workflows/rtm.yml@v2
15 changes: 15 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Publish

on:
push:
branches: # Snapshots
- main
tags: ["**"] # Releases
release:
types: [published]

jobs:
publish-artifacts:
name: Publish / Artifacts
uses: playframework/.github/.github/workflows/publish.yml@v2
secrets: inherit
4 changes: 2 additions & 2 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release Drafter
on:
push:
branches:
- 2.9.x
- main

jobs:
update_release_draft:
Expand All @@ -12,7 +12,7 @@ jobs:
- uses: release-drafter/release-drafter@v5
with:
name: "Play JSON $RESOLVED_VERSION"
config-name: release-drafts/increasing-patch-version.yml # located in .github/ in the default branch within this or the .github repo
config-name: release-drafts/increasing-minor-version.yml # located in .github/ in the default branch within this or the .github repo
commitish: ${{ github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78 changes: 0 additions & 78 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ val specs2 = Seq(
"org.specs2" %% "specs2-junit" % "4.10.5" % Test,
)

val jacksonDatabindVersion = "2.10.5.1"
val jacksonDatabindVersion = "2.11.4"
val jacksonDatabind = Seq(
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonDatabindVersion
)

val jacksonVersion = "2.10.5"
val jacksonVersion = "2.11.4"
val jacksons = Seq(
"com.fasterxml.jackson.core" % "jackson-core",
"com.fasterxml.jackson.core" % "jackson-annotations",
Expand Down

0 comments on commit 9e5f37f

Please sign in to comment.