-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (42 loc) · 1.05 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: ci
on:
push:
branches:
- main
jobs:
example:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup example
run: |
mkdir -p example/.fluentci
cp -r src example/.fluentci
cp Cargo.toml example/.fluentci
cp Cargo.lock example/.fluentci
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: .
args: |
get kind
working-directory: example
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Firecracker
if: runner.os == 'ubuntu-latest'
run: |
fluentci run --wasm . system install firecracker
type firecracker
firecracker --version
working-directory: example
- name: Show arkade version
run: |
type arkade
type kind
kind version
arkade version