diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2d1fd4..c228e46 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 1d05eef..ec23068 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,6 +3,7 @@ name = "the_biggs_brief" description = "Blogroll of RSS feeds I enjoy in the form of a newspaper." version = "0.5.0" edition = "2021" +rust-version = "1.75" authors = ["Anson Biggs"] homepage = "https://zine.ansonbiggs.com" license = "MIT"