Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 21 additions & 13 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
Expand All @@ -29,18 +28,27 @@ jobs:
with:
path: ~/.cache/typst
key: typst
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
- run: |
jas install --gh typst/typst@v0.13.1 \
--sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: sudo apt-get install -y ffmpeg
- run: cargo install --debug jas@0.2.0
- run: >
jas install
--gh typst/typst@v0.13.1
--sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
--gh-token ${{ secrets.GITHUB_TOKEN }}
- run: >
jas install
--url https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
--sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
- run: >
jas install
--url https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
--archive-filename ffprobe
--sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
- run: |
echo "DEEPINFRA_KEY=${{ secrets.DEEPINFRA_KEY }}" > keys.env
echo "ELEVENLABS_KEY=${{ secrets.ELEVENLABS_KEY }}" >> keys.env
echo "GOOGLE_KEY=${{ secrets.GOOGLE_KEY }}" >> keys.env
echo "OPENAI_KEY=${{ secrets.OPENAI_KEY }}" >> keys.env
- run: cargo test --no-run
- run: cargo test --all-features
- name: Cleanup before Post Run
run: rm keys.env
Expand All @@ -52,11 +60,11 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
- run: |
jas install --gh crate-ci/typos@v1.31.1 \
--sha f683c2abeaff70379df7176110100e18150ecd17a4b9785c32908aca11929993
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: >
jas install
--gh crate-ci/typos@v1.31.1
--sha f683c2abeaff70379df7176110100e18150ecd17a4b9785c32908aca11929993
--gh-token ${{ secrets.GITHUB_TOKEN }}
- run: typos .

fmt:
Expand Down