diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..325ec1c --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[registries] +fluence = { index = "git://crates.fluence.dev/index" } diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d3e5280..236a53f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,9 @@ on: description: "@fluencejs/aqua version" type: string default: "null" + cargo-dependencies: + description: "Cargo dependencies map" + type: string ref: description: "GitHub ref to checkout to" type: string @@ -106,6 +109,13 @@ jobs: with: crate: marine + - name: Set dependencies + if: inputs.cargo-dependencies != '' + uses: fluencelabs/github-actions/cargo-set-dependency@main + with: + dependencies: ${{ inputs.cargo-dependencies }} + manifest: service/Cargo.toml + - name: Build service run: ./build.sh working-directory: service