diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a5966a..e7701f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ on: branches: [ 'main' ] types: [opened, synchronize, reopened, closed] workflow_dispatch: - branches: [ 'main', 'develop', 'feature/**', 'hotfix/**', 'bugfix/**' ] permissions: contents: write @@ -35,10 +34,10 @@ jobs: run: echo "Branch name is ${{ github.head_ref }}" - name: Checkout sources - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Set up JDK 21 - uses: actions/setup-java@v3 + uses: actions/setup-java@v5 with: java-version: 21 distribution: 'temurin' @@ -49,7 +48,7 @@ jobs: run: mvn -B clean install - name: Upload build reports - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 if: always() with: name: maven-build-reports @@ -80,7 +79,7 @@ jobs: permissions: write-all steps: - name: Checkout sources - uses: actions/checkout@v5 + uses: actions/checkout@v6 with: clean: 'true' @@ -124,4 +123,4 @@ jobs: print("Insufficient Coverage!") sys.exit(-1) # Cause Status Check Failure due to noncompliant coverage sys.exit(0) - shell: python \ No newline at end of file + shell: python diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b402ce..904ef19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,13 +29,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - name: Set up JDK - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: temurin java-version: '21' @@ -112,7 +112,7 @@ jobs: git push origin HEAD - name: Upload workflow artifacts (optional) - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: maven-artifacts path: artifacts/