From 58bef79fb96a43f1acfdaea3fadd7d3e78f3374b Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Wed, 10 Apr 2024 14:21:01 +0000 Subject: [PATCH] ci: use fluentci-io/setup-fluentci@v5 --- .github/workflows/ci.yml | 11 +++++++++-- plugin/Cargo.lock | 2 +- plugin/Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1c0c80..c677ca7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,13 +11,20 @@ jobs: steps: - uses: actions/checkout@v2 - name: Setup Fluent CI - uses: fluentci-io/setup-fluentci@v4 + uses: fluentci-io/setup-fluentci@v5 + with: + wasm: true + pipeline: deno + args: | + fmt + test + coverage - name: Run Dagger Pipelines run: | fluentci run deno_pipeline fmt test dagger -m github.com/fluent-ci-templates/cloudflare-pipeline@main functions - name: Upload to Codecov - run: fluentci run codecov_pipeline + run: fluentci run --wasm codecov upload env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} publish: diff --git a/plugin/Cargo.lock b/plugin/Cargo.lock index 84c9bb6..e549711 100644 --- a/plugin/Cargo.lock +++ b/plugin/Cargo.lock @@ -46,7 +46,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cloudflare" -version = "0.1.0" +version = "0.9.0" dependencies = [ "extism-pdk", "fluentci-pdk", diff --git a/plugin/Cargo.toml b/plugin/Cargo.toml index ccb5908..4bace45 100644 --- a/plugin/Cargo.toml +++ b/plugin/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "cloudflare" -version = "0.1.0" +version = "0.9.0" [lib] crate-type = ["cdylib"]