-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated commit to update templated files based on rev 56d169e in st…
…ackabletech/operator-templating repo. Triggered by: Manual run triggered by: NickLarsenNZ with message [Bump rust to 1.75]
- Loading branch information
1 parent
5dedfae
commit 3c4a3b8
Showing
4 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ env: | |
CARGO_TERM_COLOR: always | ||
CARGO_INCREMENTAL: '0' | ||
CARGO_PROFILE_DEV_DEBUG: '0' | ||
RUST_TOOLCHAIN_VERSION: "1.75.0" | ||
RUSTFLAGS: "-D warnings" | ||
RUSTDOCFLAGS: "-D warnings" | ||
RUST_LOG: "info" | ||
|
@@ -44,7 +45,9 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/[email protected] | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
key: udeps | ||
|
@@ -122,8 +125,9 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.74.0 | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
components: rustfmt | ||
- run: cargo fmt --all -- --check | ||
|
||
|
@@ -139,8 +143,9 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.74.0 | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
components: clippy | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
|
@@ -174,8 +179,9 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.74.0 | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
|
@@ -195,7 +201,9 @@ jobs: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/[email protected] | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
key: test | ||
|
@@ -258,7 +266,9 @@ jobs: | |
with: | ||
version: v3.13.3 | ||
- name: Set up cargo | ||
uses: dtolnay/[email protected] | ||
uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
with: | ||
key: charts | ||
|
@@ -318,8 +328,9 @@ jobs: | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
with: | ||
submodules: recursive | ||
- uses: dtolnay/rust-toolchain@1.74.0 | ||
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 | ||
with: | ||
toolchain: ${{ env.RUST_TOOLCHAIN_VERSION }} | ||
components: rustfmt | ||
# This step checks if the current run was triggered by a push to a pr (or a pr being created). | ||
# If this is the case it changes the version of this project in all Cargo.toml files to include the suffix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[toolchain] | ||
channel = "1.74.0" | ||
channel = "1.75.0" |