Skip to content

Commit 222c1be

Browse files
authored
chore: github workflow updates (#1)
1 parent be27369 commit 222c1be

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/e2e.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: e2e-kind
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
paths-ignore:
77
- 'README.md'
88
- 'LICENSE'
99
- 'docs/**'
1010
- '.gitignore'
1111
- '.github/ISSUE_TEMPLATE/**'
1212
pull_request:
13-
branches: [ main ]
13+
branches: [main]
1414
paths-ignore:
1515
- 'README.md'
1616
- 'LICENSE'
@@ -25,10 +25,10 @@ jobs:
2525
contents: read
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
2929

3030
- name: Cache Helm
31-
uses: actions/cache@v4
31+
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # ratchet:actions/cache@v4
3232
with:
3333
path: |
3434
~/.cache/helm
@@ -38,17 +38,17 @@ jobs:
3838
${{ runner.os }}-helm-
3939
4040
- name: Setup kubectl
41-
uses: azure/setup-kubectl@v4
41+
uses: azure/setup-kubectl@776406bce94f63e41d621b960d78ee25c8b76ede # ratchet:azure/setup-kubectl@v4
4242
with:
4343
version: 'v1.33.1'
4444

4545
- name: Setup Helm
46-
uses: azure/setup-helm@v4
46+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # ratchet:azure/setup-helm@v4
4747
with:
4848
version: 'v3.18.4'
4949

5050
- name: Create kind cluster
51-
uses: helm/[email protected]
51+
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # ratchet:helm/kind-action@v1.12.0
5252
with:
5353
cluster_name: crossplane-kind
5454
node_image: kindest/node:v1.33.1

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: lint
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
paths-ignore:
77
- 'README.md'
88
- 'LICENSE'
99
- 'docs/**'
1010
- '.gitignore'
1111
- '.github/ISSUE_TEMPLATE/**'
1212
pull_request:
13-
branches: [ main ]
13+
branches: [main]
1414
paths-ignore:
1515
- 'README.md'
1616
- 'LICENSE'
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
2727

2828
- name: Install ShellCheck and shfmt
2929
run: |
3030
sudo apt-get update
3131
sudo apt-get install -y shellcheck
32-
curl -sSLo /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_linux_amd64
32+
curl -sSLo /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_amd64
3333
sudo chmod +x /usr/local/bin/shfmt
3434
3535
- name: Run ShellCheck

0 commit comments

Comments
 (0)