19
19
- uses : actions/cache@v4
20
20
with :
21
21
path : |
22
- ~/.cargo/bin/
23
22
~/.cargo/registry/index/
24
23
~/.cargo/registry/cache/
25
24
~/.cargo/git/db/
@@ -29,18 +28,27 @@ jobs:
29
28
with :
30
29
path : ~/.cache/typst
31
30
key : typst
32
- - run : cargo install --debug --git https://github.com/rikhuijzer/jas
33
- - run : |
34
- jas install --gh typst/[email protected] \
35
- --sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
36
- env:
37
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
- - run : sudo apt-get install -y ffmpeg
31
+ -
run :
cargo install --debug [email protected]
32
+ - run : >
33
+ jas install
34
+
35
+ --sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
36
+ --gh-token ${{ secrets.GITHUB_TOKEN }}
37
+ - run : >
38
+ jas install
39
+ --url https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
40
+ --sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
41
+ - run : >
42
+ jas install
43
+ --url https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
44
+ --archive-filename ffprobe
45
+ --sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
39
46
- run : |
40
47
echo "DEEPINFRA_KEY=${{ secrets.DEEPINFRA_KEY }}" > keys.env
41
48
echo "ELEVENLABS_KEY=${{ secrets.ELEVENLABS_KEY }}" >> keys.env
42
49
echo "GOOGLE_KEY=${{ secrets.GOOGLE_KEY }}" >> keys.env
43
50
echo "OPENAI_KEY=${{ secrets.OPENAI_KEY }}" >> keys.env
51
+ - run : cargo test --no-run
44
52
- run : cargo test --all-features
45
53
- name : Cleanup before Post Run
46
54
run : rm keys.env
@@ -52,11 +60,11 @@ jobs:
52
60
steps :
53
61
- uses : actions/checkout@v4
54
62
- run : cargo install --debug --git https://github.com/rikhuijzer/jas
55
- - run : |
56
- jas install --gh crate-ci/[email protected] \
57
- --sha f683c2abeaff70379df7176110100e18150ecd17a4b9785c32908aca11929993
58
- env:
59
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
63
+ - run : >
64
+ jas install
65
+
66
+ --sha f683c2abeaff70379df7176110100e18150ecd17a4b9785c32908aca11929993
67
+ --gh-token ${{ secrets.GITHUB_TOKEN }}
60
68
- run : typos .
61
69
62
70
fmt :
0 commit comments