mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 17:45:10 +02:00
chore(ci): Remove dtolnay/rust-toolchain
This causes enough issues with zizmor
This commit is contained in:
+15
-29
@@ -13,6 +13,8 @@ env:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_TERM_COLOR: always
|
||||
CLICOLOR: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
RUST_TOOLCHAIN_STABLE: "1.97" # STABLE
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||
@@ -47,9 +49,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install cargo-hack
|
||||
@@ -72,9 +72,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: stable
|
||||
run: rustup update --no-self-update stable && rustup default stable
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install cargo-hack
|
||||
@@ -95,13 +93,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install stable Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: stable
|
||||
run: rustup update --no-self-update stable && rustup default stable
|
||||
- name: Install nightly Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: nightly
|
||||
run: rustup update --no-self-update nightly && rustup default nightly
|
||||
- name: Downgrade dependencies to minimal versions
|
||||
run: cargo +nightly generate-lockfile -Z minimal-versions
|
||||
- name: Compile with minimal versions
|
||||
@@ -114,9 +108,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: stable
|
||||
run: rustup update --no-self-update stable && rustup default stable
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: "Is lockfile updated?"
|
||||
@@ -130,9 +122,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: "1.97" # STABLE
|
||||
run: rustup update --no-self-update $RUST_TOOLCHAIN_STABLE && rustup default $RUST_TOOLCHAIN_STABLE
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Check documentation
|
||||
@@ -148,10 +138,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: "1.97" # STABLE
|
||||
components: rustfmt
|
||||
run: rustup update --no-self-update $RUST_TOOLCHAIN_STABLE && rustup default $RUST_TOOLCHAIN_STABLE
|
||||
- name: Install rustfmt
|
||||
run: rustup component add rustfmt
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Check formatting
|
||||
@@ -167,10 +156,9 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: "1.97" # STABLE
|
||||
components: clippy
|
||||
run: rustup update --no-self-update $RUST_TOOLCHAIN_STABLE && rustup default $RUST_TOOLCHAIN_STABLE
|
||||
- name: Install clippy
|
||||
run: rustup component add clippy
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install SARIF tools
|
||||
@@ -204,9 +192,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: stable
|
||||
run: rustup update --no-self-update stable && rustup default stable
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install cargo-tarpaulin
|
||||
|
||||
@@ -11,6 +11,7 @@ env:
|
||||
RUST_BACKTRACE: 1
|
||||
CARGO_TERM_COLOR: always
|
||||
CLICOLOR: 1
|
||||
CARGO_INCREMENTAL: 0
|
||||
|
||||
concurrency:
|
||||
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||
@@ -37,9 +38,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
run: rustup update --no-self-update ${{ matrix.rust }} && rustup default ${{ matrix.rust }}
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install cargo-hack
|
||||
@@ -64,9 +63,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
|
||||
with:
|
||||
toolchain: stable
|
||||
run: rustup update --no-self-update stable && rustup default stable
|
||||
- name: Initialize cache
|
||||
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
|
||||
- name: Install cargo-hack
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
rules:
|
||||
superfluous-actions:
|
||||
# https://github.com/zizmorcore/zizmor/issues/1817
|
||||
disable: true
|
||||
Reference in New Issue
Block a user