From b0a1bb03059250068d2f9edc3050420f3b78aeab Mon Sep 17 00:00:00 2001 From: Cameron Garnham Date: Sun, 3 Dec 2023 13:36:20 +0800 Subject: [PATCH] ci: nightly only for now container: use nightly containers --- .github/workflows/contract.yaml | 2 +- .github/workflows/deployment.yaml | 2 +- .github/workflows/testing.yaml | 4 ++-- Containerfile | 4 ++-- cSpell.json | 1 + 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/contract.yaml b/.github/workflows/contract.yaml index 7c9fd47b..b38e0e8f 100644 --- a/.github/workflows/contract.yaml +++ b/.github/workflows/contract.yaml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - toolchain: [stable, nightly] + toolchain: [nightly] steps: - id: checkout diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml index 5df50a4b..625f9873 100644 --- a/.github/workflows/deployment.yaml +++ b/.github/workflows/deployment.yaml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - toolchain: [stable, nightly] + toolchain: [nightly] steps: - id: checkout diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index f60f03e5..d9d0c60c 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -39,7 +39,7 @@ jobs: strategy: matrix: - toolchain: [stable, nightly] + toolchain: [nightly] steps: - id: checkout @@ -79,7 +79,7 @@ jobs: strategy: matrix: - toolchain: [stable, nightly] + toolchain: [nightly] steps: - id: checkout diff --git a/Containerfile b/Containerfile index 8ea555c2..77c7da66 100644 --- a/Containerfile +++ b/Containerfile @@ -3,13 +3,13 @@ # Torrust Tracker ## Builder Image -FROM rust:bookworm as chef +FROM rustlang/rust:nightly-bookworm as chef WORKDIR /tmp RUN curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash RUN cargo binstall --no-confirm cargo-chef cargo-nextest ## Tester Image -FROM rust:slim-bookworm as tester +FROM rustlang/rust:nightly-bookworm-slim as tester WORKDIR /tmp RUN apt-get update; apt-get install -y curl sqlite3; apt-get autoclean diff --git a/cSpell.json b/cSpell.json index c9b547c9..0e1095e8 100644 --- a/cSpell.json +++ b/cSpell.json @@ -97,6 +97,7 @@ "RUSTDOCFLAGS", "RUSTFLAGS", "rustfmt", + "rustlang", "Rustls", "Seedable", "serde",