Verified Commit 23321fe8 authored by Levente Polyak's avatar Levente Polyak 🚀
Browse files

ci: declare needs for DAG pipelines

parent 2b14c6de
image: "rust:latest"
stages:
- build
- test
variables:
......@@ -11,14 +12,21 @@ cache:
- .cargo/
- target/
test:
stage: test
build:
stage: build
needs: []
artifacts:
paths:
- target/release/gluebuddy
- target
expire_in: 1 day
script:
- cargo build --release --locked
test:
stage: test
needs:
- build
script:
- cargo test --release --locked
format:
......@@ -31,6 +39,7 @@ format:
audit:
stage: test
needs: []
before_script:
- cargo install cargo-audit
script:
......@@ -39,6 +48,8 @@ audit:
clippy:
stage: test
needs:
- build
before_script:
- rustup component add clippy
script:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment