1
0
mirror of https://gitlab.com/Anson-Projects/zine.git synced 2025-09-18 19:52:47 +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: stages:
- build - build
- lint - lint
@@ -12,13 +14,11 @@ variables:
SCHEDULED_PIPELINE_NAME: "Daily scheduled build pipeline" SCHEDULED_PIPELINE_NAME: "Daily scheduled build pipeline"
build: build:
image: rust:latest
stage: build stage: build
script: script:
- cargo build - cargo build
lint: lint:
image: rust:latest
stage: lint stage: lint
script: script:
- rustup component add clippy - rustup component add clippy
@@ -27,7 +27,6 @@ lint:
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH" - if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
test: test:
image: rust:latest
stage: test stage: test
script: script:
- cargo test --verbose - cargo test --verbose
@@ -35,7 +34,6 @@ test:
- if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH" - if: "$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH"
build_site: build_site:
image: rust:latest
stage: build_site stage: build_site
script: script:
- cargo run - cargo run

View File

@@ -3,6 +3,7 @@ name = "the_biggs_brief"
description = "Blogroll of RSS feeds I enjoy in the form of a newspaper." description = "Blogroll of RSS feeds I enjoy in the form of a newspaper."
version = "0.5.0" version = "0.5.0"
edition = "2021" edition = "2021"
rust-version = "1.75"
authors = ["Anson Biggs"] authors = ["Anson Biggs"]
homepage = "https://zine.ansonbiggs.com" homepage = "https://zine.ansonbiggs.com"
license = "MIT" license = "MIT"