Skip to content

Commit 08d8a2c

Browse files
Fix catalogd-tilt CI workflow
Fix the paths to use it from catalogd Remove redundant actions/checkout@v4
1 parent ed79a1b commit 08d8a2c

File tree

1 file changed

+32
-35
lines changed

1 file changed

+32
-35
lines changed
Lines changed: 32 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,41 @@
11
on:
22
pull_request:
33
paths:
4-
- '.bingo/**'
5-
- '.github/workflows/tilt.yaml'
6-
- 'api/**'
7-
- 'cmd/**'
8-
- 'config/**'
9-
- 'internal/**'
10-
- 'pkg/**'
11-
- 'Tiltfile'
4+
- 'catalogd/.bingo/**'
5+
- 'catalogd/.github/workflows/catalogd-tilt.yaml'
6+
- 'catalogd/api/**'
7+
- 'catalogd/cmd/**'
8+
- 'catalogd/config/**'
9+
- 'catalogd/internal/**'
10+
- 'catalogd/pkg/**'
11+
- 'catalogd/Tiltfile'
1212
merge_group:
1313

1414
jobs:
1515
tilt:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
19-
with:
20-
repository: operator-framework/tilt-support
21-
path: tilt-support
22-
- uses: actions/checkout@v4
23-
with:
24-
path: catalogd
25-
- name: Install Go
26-
uses: actions/setup-go@v5
27-
with:
28-
go-version-file: "catalogd/go.mod"
29-
- name: Install Tilt
30-
run: |
31-
TILT_VERSION="0.33.3"
32-
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
33-
tar -xzv -C /usr/local/bin tilt
34-
- name: Install ctlptl
35-
run: |
36-
CTLPTL_VERSION="0.8.20"
37-
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
38-
tar -xzv -C /usr/local/bin ctlptl
39-
- name: Set up kind
40-
run: ctlptl create cluster kind --registry=ctlptl-registry
41-
- name: Test Tilt
42-
run: |
43-
cd catalogd
44-
tilt ci
18+
- uses: actions/checkout@v4
19+
with:
20+
repository: operator-framework/tilt-support
21+
path: tilt-support
22+
- name: Install Go
23+
uses: actions/setup-go@v5
24+
with:
25+
go-version-file: catalogd/go.mod
26+
- name: Install Tilt
27+
run: |
28+
TILT_VERSION="0.33.3"
29+
curl -fsSL https://github.com/tilt-dev/tilt/releases/download/v$TILT_VERSION/tilt.$TILT_VERSION.linux.x86_64.tar.gz | \
30+
tar -xzv -C /usr/local/bin tilt
31+
- name: Install ctlptl
32+
run: |
33+
CTLPTL_VERSION="0.8.20"
34+
curl -fsSL https://github.com/tilt-dev/ctlptl/releases/download/v$CTLPTL_VERSION/ctlptl.$CTLPTL_VERSION.linux.x86_64.tar.gz | \
35+
tar -xzv -C /usr/local/bin ctlptl
36+
- name: Set up kind
37+
run: ctlptl create cluster kind --registry=ctlptl-registry
38+
- name: Test Tilt
39+
run: |
40+
cd catalogd
41+
tilt ci

0 commit comments

Comments
 (0)