diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7f3cff9..a0a1412 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Install nightly toolchain + - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true - name: Run cargo check @@ -29,11 +29,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Install stable toolchain + - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true - name: Run cargo test @@ -49,11 +49,11 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Install nightly toolchain + - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true components: rustfmt, clippy diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 0f12afe..7d53d8b 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -51,11 +51,11 @@ jobs: if: runner.os == 'Linux' && !matrix.build.cross run: sudo apt install musl-tools - - name: Install nightly toolchain + - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true target: ${{ matrix.build.target }} @@ -141,11 +141,11 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Install nightly toolchain + - name: Install toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly + toolchain: stable override: true - name: Cache cargo diff --git a/Cargo.toml b/Cargo.toml index b45a32a..f4d928a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ description = "A template rendering tool designed to render configuration templa categories = ["command-line-utilities", "config", "template-engine"] keywords = ["templating", "config-management", "kubernetes"] exclude = [".*"] +rust-version = "1.72" [dependencies] indoc = "2.0.1"