Skip to content

Commit 996ef9e

Browse files
authored
Merge pull request #3 from extism/new-cli
ci: use new extism cli
2 parents 4ae1e9a + f07d3a6 commit 996ef9e

File tree

2 files changed

+16
-30
lines changed

2 files changed

+16
-30
lines changed

.github/actions/libextism/action.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
on: [workflow_call]
2+
3+
name: libextism
4+
5+
runs:
6+
using: composite
7+
steps:
8+
- uses: actions/checkout@v3
9+
with:
10+
repository: extism/cli
11+
path: .extism-cli
12+
- uses: ./.extism-cli/.github/actions/extism-cli
13+
- name: Install
14+
shell: bash
15+
run: sudo extism lib install --version git

.github/workflows/ci.yml

+1-30
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,7 @@ jobs:
1111
- stable
1212
steps:
1313
- uses: actions/checkout@v3
14-
15-
- name: Install Rust
16-
uses: actions-rs/toolchain@v1
17-
with:
18-
toolchain: ${{ matrix.rust }}
19-
override: true
20-
21-
- name: Setup Python env
22-
uses: actions/setup-python@v4
23-
with:
24-
python-version: "3.9"
25-
check-latest: true
26-
27-
- name: Install Poetry
28-
uses: snok/install-poetry@v1
29-
30-
- name: Checkout extism/cli
31-
uses: actions/checkout@v3
32-
with:
33-
repository: extism/cli
34-
path: cli
35-
36-
- name: Install Extism & CLI
37-
run: |
38-
pushd cli
39-
pip3 install cffi
40-
pip3 install .
41-
popd
42-
43-
extism install git
14+
- uses: ./.github/actions/libextism
4415

4516
- name: Install wasm32-wasi-ghc
4617
run: |

0 commit comments

Comments
 (0)