1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2025-09-19 04:02:37 +00:00

Pin rust version to stop filling up my poor unraid server

This commit is contained in:
2025-09-15 17:31:39 -04:00
parent ee157336c0
commit de5d7457f5
2 changed files with 3 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
image: rust:1.75
stages:
- build
- lint
@@ -12,13 +14,11 @@ variables:
SCHEDULED_PIPELINE_NAME: "Daily scheduled build pipeline"
build:
image: rust:latest
stage: build
script:
- cargo build
lint:
image: rust:latest
stage: lint
script:
- rustup component add clippy
@@ -27,7 +27,6 @@ lint:
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
test:
image: rust:latest
stage: test
script:
- cargo test --verbose
@@ -35,7 +34,6 @@ test:
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
build_site:
image: rust:latest
stage: build_site
script:
- cargo run