Skip to content

Commit b4ebb94

Browse files
committed
ci: try using composite workflow instead of reusable workflow
1 parent fff4dbd commit b4ebb94

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,17 @@ env:
1010

1111
jobs:
1212
setup:
13-
name: Setup Repository
14-
uses: ./.github/workflows/fn-setup.yaml
15-
with:
16-
cache-version: v1
17-
deno-deps-cache-slice-name: ci
13+
name: Setup
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v5
18+
19+
- name: Set up Repository
20+
uses: ./.github/actions/fn-setup
21+
with:
22+
cache-version: ${{ env.CACHE_VERSION }}
23+
deno-deps-cache-slice-name: ${{ env.CACHE_SLICE_NAME }}
1824

1925
test:
2026
name: Test
@@ -23,11 +29,13 @@ jobs:
2329
steps:
2430
- name: Checkout repository
2531
uses: actions/checkout@v5
32+
2633
# Now the Deno cache should be warmed up, so this should be much faster
2734
- name: Set up Repository
28-
uses: ./.github/workflows/fn-setup.yaml
35+
uses: ./.github/actions/fn-setup
2936
with:
3037
cache-version: ${{ env.CACHE_VERSION }}
3138
deno-deps-cache-slice-name: ${{ env.CACHE_SLICE_NAME }}
39+
3240
- name: Test
3341
run: deno test --allow-read

0 commit comments

Comments
 (0)