This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf.git
The following commit(s) were added to refs/heads/main by this push:
new 7bda0c07ed Upgrade Github actions (#2323)
7bda0c07ed is described below
commit 7bda0c07edbc22f59ba3e25baa65df3a1f6e94a1
Author: Holger Friedrich <[email protected]>
AuthorDate: Sat Mar 14 14:48:40 2026 +0100
Upgrade Github actions (#2323)
* Upgrade all actions in ci.yml to latest release
* Remove dependabot restriction for GHA major version upgrades
---
.github/dependabot.yml | 3 ---
.github/workflows/ci.yml | 14 +++++++-------
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index cde1ceb48e..88867ebc7b 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -24,9 +24,6 @@ updates:
schedule:
interval: "daily"
target-branch: "main"
- ignore:
- - dependency-name: "*"
- update-types: ["version-update:semver-major"]
- package-ecosystem: "maven"
directory: "/"
schedule:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index f296871bd4..87bdbb1b03 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -36,9 +36,9 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Set up JDK 17
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
@@ -46,7 +46,7 @@ jobs:
- name: Build
run: mvn -U -B -e clean install -Prat -DskipTests "-Dinvoker.skip=true"
- name: Save Maven Local Repository
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
with:
path: ~/.m2/repository
key: maven-local-repo-${{ github.run_id }}
@@ -64,15 +64,15 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
- name: Set up JDK 17
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'temurin'
cache: 'maven'
- name: Restore Maven Local Repository
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: maven-local-repo-${{ github.run_id }}
@@ -81,7 +81,7 @@ jobs:
timeout-minutes: 180
- name: Upload Test Results
if: always()
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v7
with:
name: test-results
path: '**/target/surefire-reports/*.xml'