From 6cfbbcd8160219ceb2c135feb9e096dc71c2a4f3 Mon Sep 17 00:00:00 2001 From: Raphael Darley Date: Mon, 9 Sep 2024 17:24:52 +0100 Subject: [PATCH] change release actions to stable (#4717) --- .github/workflows/bench.yml | 4 -- .github/workflows/beta.yml | 2 - .github/workflows/ci.yml | 40 ------------------- .../workflows/reusable_publish_version.yml | 12 +++--- .github/workflows/supply-chain.yml | 3 -- 5 files changed, 6 insertions(+), 55 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 868d6fdd..b0399563 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -38,8 +38,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 @@ -126,8 +124,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Setup cache uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index 458d9ab1..6146647e 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -71,8 +71,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Install a TOML parser run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f4b14f0..a5304457 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - name: Checkout sources @@ -109,7 +108,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.80.1 components: rustfmt - name: Checkout sources @@ -138,7 +136,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable targets: wasm32-unknown-unknown - name: Checkout sources @@ -162,7 +159,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: clippy - name: Checkout sources @@ -185,8 +181,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -221,8 +215,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -248,8 +240,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -275,8 +265,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -302,8 +290,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -341,8 +327,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -368,8 +352,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -397,8 +379,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -432,8 +412,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -467,8 +445,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -502,8 +478,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -533,8 +507,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -564,8 +536,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -595,8 +565,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -626,8 +594,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -668,8 +634,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -704,8 +668,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 @@ -740,8 +702,6 @@ jobs: steps: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - name: Checkout sources uses: actions/checkout@v4 diff --git a/.github/workflows/reusable_publish_version.yml b/.github/workflows/reusable_publish_version.yml index afd08000..516f1245 100644 --- a/.github/workflows/reusable_publish_version.yml +++ b/.github/workflows/reusable_publish_version.yml @@ -37,7 +37,7 @@ on: rust_version: required: false type: string - default: "1.80.1" + default: "stable" description: "The Rust version to use for building binaries" onnx_version: required: false @@ -72,7 +72,7 @@ jobs: build-metadata: ${{ steps.outputs.outputs.build-metadata }} steps: - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.rust_version }} @@ -227,7 +227,7 @@ jobs: runs-on: ubuntu-latest-16-cores steps: - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.rust_version }} @@ -277,7 +277,7 @@ jobs: ref: ${{ needs.prepare-vars.outputs.git-ref }} - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.rust_version }} targets: wasm32-unknown-unknown @@ -523,7 +523,7 @@ jobs: run: git checkout -b binary - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.rust_version }} targets: ${{ matrix.arch }} @@ -608,7 +608,7 @@ jobs: ref: ${{ needs.prepare-vars.outputs.git-ref }} - name: Install stable toolchain - uses: dtolnay/rust-toolchain@stable + uses: dtolnay/rust-toolchain@master with: toolchain: ${{ inputs.rust_version }} diff --git a/.github/workflows/supply-chain.yml b/.github/workflows/supply-chain.yml index 50c00c2b..1ef67a5d 100644 --- a/.github/workflows/supply-chain.yml +++ b/.github/workflows/supply-chain.yml @@ -53,7 +53,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - name: Checkout sources @@ -77,7 +76,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - name: Checkout sources @@ -101,7 +99,6 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: stable components: rustfmt - name: Checkout sources