Skip to content

Commit 5aa9b4b

Browse files
authored
Merge pull request #93 from XenitAB/upgrade
chore: upgrade golang, golangci-lint and all dependencies
2 parents 34b72ad + 8595270 commit 5aa9b4b

File tree

14 files changed

+402
-889
lines changed

14 files changed

+402
-889
lines changed

.github/workflows/e2e.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,23 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
- name: Install Helm
16-
uses: azure/setup-helm@v3
16+
uses: azure/setup-helm@v4.3.0
1717
with:
1818
version: "3.10.1"
1919
- name: Restore Go cache
20-
uses: actions/cache@v3
20+
uses: actions/cache@v4
2121
with:
2222
path: ~/go/pkg/mod
2323
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2424
restore-keys: |
2525
${{ runner.os }}-go-
2626
- name: Setup Go
27-
uses: actions/setup-go@v3
27+
uses: actions/setup-go@v5
2828
with:
29-
go-version: 1.20.x
29+
go-version: 1.23.x
3030
- name: Setup Kubernetes
31-
uses: engineerd/setup-kind@v0.5.0
32-
with:
33-
version: v0.16.0
31+
uses: engineerd/setup-kind@v0.6.0
3432
- name: Run e2e tests
3533
run: make e2e

.github/workflows/go.yaml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,19 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Setup go
15-
uses: actions/setup-go@v3
15+
uses: actions/setup-go@v5
1616
with:
17-
go-version: 1.20.x
17+
go-version: 1.23.x
1818
- name: golangci-lint
19-
uses: golangci/golangci-lint-action@v3.4.0
20-
with:
21-
version: v1.51.2
19+
uses: golangci/golangci-lint-action@v7
2220
test:
2321
runs-on: ubuntu-latest
2422
steps:
25-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2624
- name: Setup go
27-
uses: actions/setup-go@v3
25+
uses: actions/setup-go@v5
2826
with:
29-
go-version: 1.20.x
27+
go-version: 1.23.x
3028
- run: make test

.github/workflows/release.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Clone repo
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
- name: Install Helm
14-
uses: azure/setup-helm@v3
15-
with:
16-
version: "3.10.1"
14+
uses: azure/setup-helm@v4.3.0
1715
- name: Get GitHub Tag
1816
id: get_tag
1917
run: |
@@ -28,7 +26,7 @@ jobs:
2826
runs-on: ubuntu-latest
2927
steps:
3028
- name: Clone repo
31-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3230
- name: Prepare
3331
id: prep
3432
run: |
@@ -43,24 +41,24 @@ jobs:
4341
run: |
4442
echo "::set-output name=tag::${GITHUB_REF#refs/tags/}"
4543
- name: Cache container layers
46-
uses: actions/cache@v3
44+
uses: actions/cache@v4
4745
with:
4846
path: /tmp/.buildx-cache
4947
key: ${{ runner.os }}-buildx-${{ github.sha }}
5048
restore-keys: |
5149
${{ runner.os }}-buildx-
5250
- name: Set up QEMU
53-
uses: docker/setup-qemu-action@v2
51+
uses: docker/setup-qemu-action@v3
5452
- name: Set up Docker Buildx
55-
uses: docker/setup-buildx-action@v2
53+
uses: docker/setup-buildx-action@v3
5654
- name: Login to GitHub Container Registry
57-
uses: docker/login-action@v2
55+
uses: docker/login-action@v3
5856
with:
5957
registry: ghcr.io
6058
username: ${{ github.repository_owner }}
6159
password: ${{ secrets.CR_PAT }}
6260
- name: Build and push container (multi arch)
63-
uses: docker/build-push-action@v3
61+
uses: docker/build-push-action@v6
6462
with:
6563
push: true
6664
context: .

0 commit comments

Comments
 (0)