Skip to content

Commit

Permalink
feat: Build with stable toolchain
Browse files Browse the repository at this point in the history
Bump MSRV to 1.72
  • Loading branch information
fabianfreyer committed Jan 12, 2024
1 parent e5e8b8a commit 7cb3b03
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7cb3b03

Please sign in to comment.