Skip to content

Commit

Permalink
ci: use new extism cli
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed Sep 21, 2023
1 parent 6443d91 commit c0991e3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 24 deletions.
15 changes: 15 additions & 0 deletions .github/actions/libextism/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on: [workflow_call]

name: libextism

runs:
using: composite
steps:
- uses: actions/checkout@v3
with:
repository: extism/cli
path: .extism-cli
- uses: ./.extism-cli/.github/actions/extism-cli
- name: Install
shell: bash
run: sudo extism lib install --version git
25 changes: 1 addition & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
- stable
steps:
- uses: actions/checkout@v3
- uses: .github/actions/libextism

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -21,30 +22,6 @@ jobs:
- name: Install wasm32 target
run: rustup target add wasm32-unknown-unknown

- name: Setup Python env
uses: actions/setup-python@v4
with:
python-version: "3.9"
check-latest: true

- name: Install Poetry
uses: snok/install-poetry@v1

- name: Checkout extism/cli
uses: actions/checkout@v3
with:
repository: extism/cli
path: cli

- name: Install Extism & CLI
run: |
pushd cli
pip3 install cffi
pip3 install .
popd
extism install git
- name: Build plugins
run: make -B plugins

Expand Down

0 comments on commit c0991e3

Please sign in to comment.