From ffb2faed3a0232d9af4b5c5f4a9c9558f0d55f85 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 15 Mar 2024 10:17:24 +0000 Subject: [PATCH] ci: setup fluentci --- .github/workflows/ci.yml | 19 +++++++++++++++++++ crates/core/src/deps.rs | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7611a58 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: ci +on: + push: + branches: + - main +jobs: + tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Fluent CI + uses: fluentci-io/setup-fluentci@v4 + - name: Run Dagger Pipelines + run: | + fluentci run rust_pipeline build + ls -ltr + ls -ltr target + env: + PACKAGE_NAME: fluentci-engine diff --git a/crates/core/src/deps.rs b/crates/core/src/deps.rs index ce3fbc0..8e2c661 100644 --- a/crates/core/src/deps.rs +++ b/crates/core/src/deps.rs @@ -1,6 +1,6 @@ +use std::fs; use std::sync::mpsc::{self, Sender}; use std::sync::Arc; -use std::{env, fs}; use fluentci_ext::Extension; use fluentci_types::Output;