Skip to content

Commit 8519cf3

Browse files
authored
chore(ci): update github actions. (#1062)
1 parent 06a8366 commit 8519cf3

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
lint-and-format:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
20-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2121
with:
2222
go-version-file: go.mod
2323
cache: true
@@ -38,8 +38,8 @@ jobs:
3838
id-token: write
3939
contents: read
4040
steps:
41-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
42-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
41+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
42+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
4343
with:
4444
go-version-file: go.mod
4545
cache: true
@@ -61,7 +61,7 @@ jobs:
6161
DATADOG_API_KEY: ${{ steps.dd-sts.outputs.api_key }}
6262
- name: Upload test report
6363
if: always()
64-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
64+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6565
with:
6666
name: report-test.xml
6767
path: report-test.xml
@@ -73,11 +73,11 @@ jobs:
7373
matrix:
7474
target: [injector, manager, handler]
7575
steps:
76-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
76+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7777
- name: Build ${{ matrix.target }}
7878
run: make docker-build-${{ matrix.target }} SKIP_GENERATE=true
7979
- name: Upload tarball
80-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
80+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
8181
with:
8282
name: docker-${{ matrix.target }}
8383
path: bin/${{ matrix.target }}/${{ matrix.target }}.tar.gz
@@ -91,8 +91,8 @@ jobs:
9191
id-token: write
9292
contents: read
9393
steps:
94-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
95-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
94+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
95+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
9696
with:
9797
go-version-file: go.mod
9898
cache: true
@@ -104,7 +104,7 @@ jobs:
104104
- name: Install tools
105105
run: make -j6 install-controller-gen install-yamlfmt install-helm install-kubebuilder install-datadog-ci
106106
- name: Download docker tarballs
107-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
107+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
108108
with:
109109
pattern: docker-*
110110
merge-multiple: false
@@ -140,22 +140,22 @@ jobs:
140140
minikube kubectl -- -n chaos-engineering logs -lapp=chaos-controller -c manager --tail=-1 > /tmp/logs/e2e.txt 2>&1 || true
141141
- name: Upload controller logs
142142
if: failure()
143-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
143+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
144144
with:
145145
name: e2e-controller-logs
146146
path: /tmp/logs
147147
- name: Upload e2e test report
148148
if: always()
149-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
149+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
150150
with:
151151
name: report-e2e-test.xml
152152
path: report-e2e-test.xml
153153

154154
validate-codegen:
155155
runs-on: ubuntu-latest
156156
steps:
157-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
158-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
157+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158+
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
159159
with:
160160
go-version-file: go.mod
161161
cache: true
@@ -185,7 +185,7 @@ jobs:
185185
python-checks:
186186
runs-on: ubuntu-latest
187187
steps:
188-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
188+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
189189
- name: Install Python dependencies
190190
run: pip install -r tasks/requirements.txt
191191
- name: Check third-party licenses
@@ -200,7 +200,7 @@ jobs:
200200
doc-spellcheck:
201201
runs-on: ubuntu-latest
202202
steps:
203-
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
203+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
204204
- name: Install markdown-spellcheck
205205
run: npm install -g markdown-spellcheck
206206
- name: Spellcheck

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
contents: write
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
- name: Unshallow
1717
run: git fetch --prune --unshallow
1818
- name: Set up Go
19-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5.6.0
19+
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
2020
with:
2121
go-version: '>=1.22.5'
2222
- name: Install Helm

0 commit comments

Comments
 (0)