Skip to content

Commit

Permalink
Update CI workflow to allow lint step to continue on error and adjust…
Browse files Browse the repository at this point in the history
… job dependencies
  • Loading branch information
ankur198 committed Jan 27, 2025
1 parent 4e4bc80 commit 9982ad3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
name: lint
runs-on: ubuntu-24.04 # newest available distribution, aka noble
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
continue-on-error: true # Allow the pipeline to continue even if lint fails
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -33,7 +34,6 @@ jobs:
build-bin/lint
build:
needs: lint
runs-on: ubuntu-24.04
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
steps:
Expand All @@ -57,7 +57,7 @@ jobs:
build-bin/maven/maven_build -DskipTests
test:
needs: build
needs: build # Only depends on build now, not lint
name: test (JDK ${{ matrix.java_version }})
runs-on: ubuntu-24.04 # newest available distribution, aka noble
# skip commits made by the release plugin
Expand Down

0 comments on commit 9982ad3

Please sign in to comment.