Skip to content

Commit

Permalink
Fix action and workflow paths in github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
syl20bnr committed Aug 26, 2024
1 parent 27c50e8 commit 7d80d80
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 34 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# --------------------------------------------------------------------------------
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,41 @@ 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:
- publish-burn-common
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:
crate: burn-compute
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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -138,15 +138,15 @@ 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:
crate: burn-train
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
Expand All @@ -155,15 +155,15 @@ 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:
crate: burn-import
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

0 comments on commit 7d80d80

Please sign in to comment.