This is an automated email from the ASF dual-hosted git repository.
wilfreds pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-core.git
The following commit(s) were added to refs/heads/master by this push:
new 18afa43a [YUNIKORN-3235] Updating the go version to 1.26.1 (#1073)
18afa43a is described below
commit 18afa43ae85407968e13fcb5642450207e5ef619
Author: Aditya Maheshwari <[email protected]>
AuthorDate: Fri Mar 13 11:20:35 2026 +1100
[YUNIKORN-3235] Updating the go version to 1.26.1 (#1073)
removed patch version from .go_Version, updated action version, configured
setup action to always use the latest patch version
Closes: #1073
Signed-off-by: Wilfred Spiegelenburg <[email protected]>
---
.github/workflows/pre-commit.yml | 16 +++++++++-------
.github/workflows/push-master.yml | 7 ++++---
.go_version | 2 +-
3 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
index ccfc9ad0..8ce19783 100644
--- a/.github/workflows/pre-commit.yml
+++ b/.github/workflows/pre-commit.yml
@@ -16,13 +16,14 @@ jobs:
steps:
- name: Checkout source code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version-file: .go_version
+ check-latest: true
- name: Check license
run: make license-check
- name: Go lint
@@ -52,20 +53,21 @@ jobs:
plugin: [""]
steps:
- name: Checkout yunikorn-k8shim source code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
repository: apache/yunikorn-k8shim
fetch-depth: 2
path: k8shim
- name: Checkout yunikorn-core source code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 2
path: core
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version-file: k8shim/.go_version
+ check-latest: true
cache-dependency-path: "**/go.sum"
- name: Set hugepage
run: |
@@ -74,7 +76,7 @@ jobs:
sudo sysctl -a | grep vm.nr_hugepages
- name: Cache and Restore e2e required tools
id: cache
- uses: actions/cache@v4
+ uses: actions/cache@v5
with:
path: |
k8shim/tools
@@ -89,7 +91,7 @@ jobs:
KIND_NODE_IMAGE: ${{ matrix.k8s }}
KIND_EXTRA_ARGS: ${{ matrix.plugin }}
- name: Upload artifacts
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v6
if: ${{ failure() }}
with:
name: ${{ github.job }} stdout (${{ matrix.k8s }}${{ matrix.plugin
== '--plugin' && format(', {0}', matrix.plugin) || matrix.plugin }})
diff --git a/.github/workflows/push-master.yml
b/.github/workflows/push-master.yml
index 03bd406b..b59b47f3 100644
--- a/.github/workflows/push-master.yml
+++ b/.github/workflows/push-master.yml
@@ -10,17 +10,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Set up Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version-file: .go_version
+ check-latest: true
- name: Unit tests
run: make test
- name: Code coverage
- uses: codecov/codecov-action@v4
+ uses: codecov/codecov-action@v5
with:
files: build/coverage.txt
# After codecov/codecov-action@v4, tokenless uploading of coverage
files to non-public repo is unsupported.
diff --git a/.go_version b/.go_version
index 5ff8c4f5..24cffb85 100644
--- a/.go_version
+++ b/.go_version
@@ -1 +1 @@
-1.26.0
+1.26
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]