Skip to content

Commit 3a50f27

Browse files
authored
1 parent 042aa89 commit 3a50f27

File tree

3 files changed

+12
-18
lines changed

3 files changed

+12
-18
lines changed

.github/workflows/audit.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
timeout-minutes: 10
1717
steps:
1818
- uses: actions/checkout@v4
19-
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
19+
- run: cargo install --debug jas@0.3.0
2020
- run: >
2121
jas install
2222
--gh rustsec/rustsec@cargo-audit/v0.21.2
@@ -30,12 +30,10 @@ jobs:
3030
timeout-minutes: 10
3131
steps:
3232
- uses: actions/checkout@v4
33-
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
33+
- run: cargo install --debug jas@0.3.0
3434
- run: >
3535
jas install
3636
--gh EmbarkStudios/[email protected]
3737
--sha 43c4a79c4b9fd1fcb3dddb305a1b4d8f7ac4a72accd61bb50a0b698789ca894c
38-
# Using GITHUB_TOKEN because the tests make lots of requests and may hit rate limits.
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
- run: cargo-deny check advisories
38+
--gh-token ${{ secrets.GITHUB_TOKEN }}
39+
- run: cargo-deny check advisories

.github/workflows/check.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
path: ~/.cache/typst
3030
key: typst
31-
- run: cargo install --debug jas@0.2.0
31+
- run: cargo install --debug jas@0.3.0
3232
- run: >
3333
jas install
3434
--gh typst/[email protected]
@@ -37,10 +37,7 @@ jobs:
3737
- run: >
3838
jas install
3939
--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
40+
--archive-filename ffmpeg
4441
--archive-filename ffprobe
4542
--sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67
4643
- run: |
@@ -59,7 +56,7 @@ jobs:
5956
timeout-minutes: 10
6057
steps:
6158
- uses: actions/checkout@v4
62-
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
59+
- run: cargo install --debug jas@0.3.0
6360
- run: >
6461
jas install
6562
--gh crate-ci/[email protected]

.github/workflows/examples.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ jobs:
3434
- run: |
3535
echo "DEEPINFRA_KEY=${{ secrets.DEEPINFRA_KEY }}" > keys.env
3636
echo "GOOGLE_KEY=${{ secrets.GOOGLE_KEY }}" >> keys.env
37-
- run: cargo install --debug --git https://github.com/rikhuijzer/jas
38-
- run: |
39-
jas install --gh typst/[email protected] \
40-
--sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
41-
env:
42-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
- run: cargo install --debug [email protected]
38+
- run: >
39+
jas install --gh typst/[email protected]
40+
--sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f
41+
--gh-token ${{ secrets.GITHUB_TOKEN }}
4342
- run: |
4443
mkdir _public
4544
echo "<html><body><h1>Home page for the examples</h1></body></html>" > _public/index.html

0 commit comments

Comments
 (0)