Skip to content

Commit 5e17e5b

Browse files
committed
fix: simplify CI to use only Go 1.21
- Remove unnecessary Go 1.22 from build matrix - Match go.mod requirement of Go 1.21 - Reduce CI build time by half
1 parent fb38d6c commit 5e17e5b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
strategy:
4949
matrix:
5050
os: [ubuntu-latest, macos-latest]
51-
go: ['1.21', '1.22']
5251
runs-on: ${{ matrix.os }}
5352

5453
steps:
@@ -63,13 +62,13 @@ jobs:
6362
- name: Set up Go
6463
uses: actions/setup-go@v5
6564
with:
66-
go-version: ${{ matrix.go }}
65+
go-version: '1.21'
6766

6867
- name: Build
6968
run: go build -v -o kubectl-rebalance ./cmd/kubectl-rebalance
7069

7170
- name: Upload artifact
7271
uses: actions/upload-artifact@v4
7372
with:
74-
name: kubectl-rebalance-${{ matrix.os }}-go${{ matrix.go }}
73+
name: kubectl-rebalance-${{ matrix.os }}
7574
path: kubectl-rebalance

0 commit comments

Comments
 (0)