Skip to content

Commit 314318a

Browse files
authored
Update Github actions to latest version (#164)
* Update keda version to 2.14.0. Update all Github actions to latest. Signed-off-by: Md Soharab Ansari <[email protected]> * Bumped up all connectors version Signed-off-by: Md Soharab Ansari <[email protected]> * Redis require redis-operator version 0.7.0 Signed-off-by: Md Soharab Ansari <[email protected]> * Redis version should match redis-operator version 0.7.0 Signed-off-by: Md Soharab Ansari <[email protected]> --------- Signed-off-by: Md Soharab Ansari <[email protected]>
1 parent 17a5d64 commit 314318a

File tree

13 files changed

+39
-39
lines changed

13 files changed

+39
-39
lines changed

Diff for: .github/actions/setup-keda/action.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,33 @@ runs:
66
using: "composite"
77
steps:
88
- name: Set up Go
9-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
9+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
1010
with:
1111
go-version-file: "go.mod"
1212
cache: true
1313

1414
- name: Setup Kind cluster
15-
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
15+
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
1616
with:
17-
node_image: kindest/node:v1.23.17
18-
version: v0.20.0
17+
node_image: kindest/node:v1.25.16
18+
version: v0.23.0
1919
cluster_name: kind
2020

2121
- name: Helm installation
22-
uses: Azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
22+
uses: Azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
2323
with:
24-
version: v3.13.0
24+
version: v3.15.2
2525

2626
- name: Install Keda
2727
shell: bash
2828
run: |
2929
kubectl create namespace keda
3030
helm repo add kedacore https://kedacore.github.io/charts
3131
helm repo update
32-
helm install keda kedacore/keda --namespace keda --version 2.12.0
32+
helm install keda kedacore/keda --namespace keda --version 2.14.0
3333
3434
- name: Setup Ko
35-
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
35+
uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
3636
env:
3737
KO_DOCKER_REPO: kind.local
3838

Diff for: .github/workflows/ci.yml

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
packages: ${{ steps.filter.outputs.changes }}
1515
steps:
1616
- name: Check out code
17-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1818

19-
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
19+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2020
id: filter
2121
with:
2222
filters: |
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Check out code
42-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
42+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4343

4444
- name: Setup Keda
4545
uses: ./.github/actions/setup-keda
@@ -90,7 +90,7 @@ jobs:
9090
runs-on: ubuntu-latest
9191
steps:
9292
- name: Check out code
93-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
93+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9494

9595
- name: Setup Keda
9696
uses: ./.github/actions/setup-keda
@@ -134,7 +134,7 @@ jobs:
134134
runs-on: ubuntu-latest
135135
steps:
136136
- name: Check out code
137-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
137+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
138138

139139
- name: Setup Keda
140140
uses: ./.github/actions/setup-keda
@@ -170,7 +170,7 @@ jobs:
170170
runs-on: ubuntu-latest
171171
steps:
172172
- name: Check out code
173-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
173+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
174174

175175
- name: Setup Keda
176176
uses: ./.github/actions/setup-keda
@@ -179,11 +179,11 @@ jobs:
179179
run: |
180180
helm repo add ot-helm https://ot-container-kit.github.io/helm-charts/
181181
kubectl create namespace redis-operator
182-
helm upgrade redis-operator ot-helm/redis-operator --install --namespace redis-operator
182+
helm upgrade redis-operator ot-helm/redis-operator --install --namespace redis-operator --version 0.7.0
183183
sleep 50s
184184
cd redis-http-connector/test/kubernetes
185185
kubectl create namespace ot-operators
186-
helm upgrade redis ot-helm/redis -f redis-values.yaml --install --namespace ot-operators
186+
helm upgrade redis ot-helm/redis -f redis-values.yaml --install --namespace ot-operators --version 0.7.0
187187
sleep 50s
188188
kubectl get pods -n ot-operators
189189
@@ -219,7 +219,7 @@ jobs:
219219
runs-on: ubuntu-latest
220220
steps:
221221
- name: Check out code
222-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
222+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
223223

224224
- name: Setup Keda
225225
uses: ./.github/actions/setup-keda
@@ -264,7 +264,7 @@ jobs:
264264
runs-on: ubuntu-latest
265265
steps:
266266
- name: Check out code
267-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
267+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
268268

269269
- name: Setup Keda
270270
uses: ./.github/actions/setup-keda

Diff for: .github/workflows/codeql-analysis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Check out code
42-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
42+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
46+
uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below)
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
57+
uses: github/codeql-action/autobuild@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 https://git.io/JvXDl
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@66b90a5db151a8042fa97405c6cf843bbe433f7b # v2.22.7
71+
uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10

Diff for: .github/workflows/lint.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
GOLANGCI_LINT_VERSION: v1.55.2
13+
GOLANGCI_LINT_VERSION: v1.59.1
1414
GOLANGCI_LINT_TIMEOUT: 5m
1515

1616
jobs:
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Check out code
22-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
22+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
25+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
2626
with:
2727
go-version-file: "go.mod"
2828
cache: true
@@ -33,7 +33,7 @@ jobs:
3333
go mod download
3434
3535
- name: Run golangci-lint
36-
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
36+
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
3737
with:
3838
version: ${{ env.GOLANGCI_LINT_VERSION }}
3939
args: --timeout=${{ env.GOLANGCI_LINT_TIMEOUT }}

Diff for: .github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
packages: ${{ steps.filter.outputs.changes }}
1515
steps:
1616
- name: Check out code
17-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
17+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1818

19-
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
19+
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
2020
id: filter
2121
with:
2222
filters: |
@@ -45,10 +45,10 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout sources
48-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
48+
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
4949

5050
- name: Set up Go
51-
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
51+
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
5252
with:
5353
go-version-file: "go.mod"
5454
cache: true
@@ -57,7 +57,7 @@ jobs:
5757
run: cd ${{ matrix.run }}; version=$(cat version);echo "version=$version" >> $GITHUB_ENV
5858

5959
- name: Setup Ko
60-
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
60+
uses: ko-build/setup-ko@3aebd0597dc1e9d1a26bcfdb7cbeb19c131d3037 # v0.7
6161

6262
- name: Build
6363
shell: bash

Diff for: aws-kinesis-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.12
1+
v0.13

Diff for: aws-sqs-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.13
1+
v0.14

Diff for: gcp-pubsub-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.8
1+
v0.9

Diff for: kafka-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.14
1+
v0.15

Diff for: nats-jetstream-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.6
1+
v0.7

Diff for: nats-streaming-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.15
1+
v0.16

Diff for: rabbitmq-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.12
1+
v0.13

Diff for: redis-http-connector/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.5
1+
v0.6

0 commit comments

Comments
 (0)