From 7d80d80414c901c4014681d65c71036470ba5582 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 26 Aug 2024 12:01:35 -0400 Subject: [PATCH] Fix action and workflow paths in github workflows --- .github/workflows/ci.yml | 26 ++++++++++--------------- .github/workflows/publish.yml | 36 +++++++++++++++++------------------ 2 files changed, 28 insertions(+), 34 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d6dfac954..9af5e680cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,17 +76,11 @@ jobs: cache-version: stable steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-linux # -------------------------------------------------------------------------------- - - name: Install typos - shell: bash - run: | - curl -L "$TYPOS_LINK/v$TYPOS_VERSION/typos-v$TYPOS_VERSION-x86_64-unknown-linux-musl.tar.gz" | - tar xz -C $HOME/.cargo/bin - # -------------------------------------------------------------------------------- - name: Audit run: cargo xtask check audit # -------------------------------------------------------------------------------- @@ -102,7 +96,7 @@ jobs: run: cargo xtask check lint # -------------------------------------------------------------------------------- - name: Typos - run: cargo xtask check typos + uses: tracel-ai/github-actions/check-typos@v1 documentation: runs-on: ubuntu-22.04 @@ -114,7 +108,7 @@ jobs: cache-version: stable steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-linux @@ -138,13 +132,13 @@ jobs: cache-version: 1-79-0 steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-linux # -------------------------------------------------------------------------------- - name: Setup Linux runner - uses: tracel-ai/github-actions/actions/setup-linux@v1 + uses: tracel-ai/github-actions/setup-linux@v1 with: vulkan-sdk-version: ${{ env.VULKAN_SDK_VERSION }} mesa-version: ${{ env.MESA_VERSION }} @@ -185,13 +179,13 @@ jobs: cache-version: 1-79-0 steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-linux-no-std # -------------------------------------------------------------------------------- - name: Setup Linux runner - uses: tracel-ai/github-actions/actions/setup-linux@v1 + uses: tracel-ai/github-actions/setup-linux@v1 with: vulkan-sdk-version: ${{ env.VULKAN_SDK_VERSION }} mesa-version: ${{ env.MESA_VERSION }} @@ -216,14 +210,14 @@ jobs: cache-version: stable steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-windows # -------------------------------------------------------------------------------- - name: Setup Windows runner if: env.DISABLE_WGPU != '1' - uses: tracel-ai/github-actions/actions/setup-windows@v1 + uses: tracel-ai/github-actions/setup-windows@v1 with: dxc-release: ${{ env.DXC_RELEASE }} dxc-filename: ${{ env.DXC_FILENAME }} @@ -244,7 +238,7 @@ jobs: cache-version: stable steps: - name: Setup Rust - uses: tracel-ai/github-actions/actions/setup-rust@v1 + uses: tracel-ai/github-actions/setup-rust@v1 with: rust-toolchain: ${{ matrix.rust }} cache-key: ${{ matrix.cache-version }}-macos diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 734a1d9c4e..6d57f21730 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,13 +7,13 @@ on: jobs: publish-burn-derive: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: burn-derive secrets: inherit # -------------------------------------------------------------------------------- publish-burn-dataset: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: burn-dataset needs: @@ -21,13 +21,13 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-common: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: burn-common secrets: inherit # -------------------------------------------------------------------------------- publish-burn-compute: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-common with: @@ -35,13 +35,13 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-tensor-testgen: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: burn-tensor-testgen secrets: inherit # -------------------------------------------------------------------------------- publish-burn-tensor: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor-testgen - publish-burn-common @@ -50,7 +50,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-fusion: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-common @@ -59,7 +59,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-jit: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-common - publish-burn-fusion @@ -70,7 +70,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-autodiff: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-tensor-testgen @@ -80,7 +80,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-tch: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-autodiff @@ -89,7 +89,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-ndarray: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-autodiff @@ -99,7 +99,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-wgpu: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-compute @@ -112,7 +112,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-candle: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-tensor - publish-burn-autodiff @@ -122,7 +122,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-core: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-dataset - publish-burn-common @@ -138,7 +138,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-train: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-core with: @@ -146,7 +146,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn-core - publish-burn-train @@ -155,7 +155,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-burn-import: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 needs: - publish-burn with: @@ -163,7 +163,7 @@ jobs: secrets: inherit # -------------------------------------------------------------------------------- publish-onnx-ir: - uses: tracel-ai/github-actions/workflows/publish-crate.yml@v1 + uses: tracel-ai/github-actions/.github/workflows/publish-crate.yml@v1 with: crate: onnx-ir secrets: inherit