-
Notifications
You must be signed in to change notification settings - Fork 6
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 8310a6c 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
add411f
commit 5cc4d03
Showing
3 changed files
with
28 additions
and
12 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,7 +125,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 }} | ||
with: | ||
components: rustfmt | ||
- run: cargo fmt --all -- --check | ||
|
@@ -139,7 +144,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 }} | ||
with: | ||
components: clippy | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
|
@@ -174,7 +181,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 }} | ||
with: | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
|
@@ -195,7 +204,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 +269,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,7 +331,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 }} | ||
with: | ||
components: rustfmt | ||
# This step checks if the current run was triggered by a push to a pr (or a pr being created). | ||
|
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