Merge branch 'ci' into 'main'

Added workflow file

See merge request kdeng00/clean_file!1
This commit is contained in:
KD
2025-03-09 03:06:12 +00:00
+29
View File
@@ -0,0 +1,29 @@
stages:
- build
- test
build:
stage: build
image: rust:1.85
script:
- cargo build --release
artifacts:
paths:
- target/release/clean_file
expire_in: 1 week
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/
test:
stage: test
image: rust:1.85
script:
- cargo test
cache:
key: "cargo-cache"
paths:
- target/
- ~/.cargo/