Skip to content

Commit

Permalink
bumped jackson and switched caching for github actions to be via java
Browse files Browse the repository at this point in the history
garethahealy committed Nov 5, 2024
1 parent 512a0e7 commit 61b1b8f
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -23,22 +23,17 @@ jobs:
with:
distribution: "temurin"
java-version: 21
cache: "maven"

- name: Dependency Review
if: github.event_name == 'pull_request'
uses: actions/dependency-review-action@4081bf99e2866ebe428fc0477b69eb4fcda7220a # v4

- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven
restore-keys: |
${{ runner.os }}-maven
- name: Collect dependencies
run: |
./mvnw dependency:go-offline --batch-mode
./mvnw verify --fail-never --batch-mode
./mvnw dependency:resolve-sources dependency:resolve -Dclassifier=javadoc
- name: Build
run: ./mvnw clean install --batch-mode
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>2.17.2</version>
<version>2.18.0</version>
</dependency>
<dependency>
<groupId>io.quarkiverse.githubapi</groupId>

0 comments on commit 61b1b8f

Please sign in to comment.