diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index a7ccb1e..d3cccf9 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - run: cargo install --debug --git https://github.com/rikhuijzer/jas + - run: cargo install --debug jas@0.3.0 - run: > jas install --gh rustsec/rustsec@cargo-audit/v0.21.2 @@ -30,12 +30,10 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - run: cargo install --debug --git https://github.com/rikhuijzer/jas + - run: cargo install --debug jas@0.3.0 - run: > jas install --gh EmbarkStudios/cargo-deny@0.18.2 --sha 43c4a79c4b9fd1fcb3dddb305a1b4d8f7ac4a72accd61bb50a0b698789ca894c - # Using GITHUB_TOKEN because the tests make lots of requests and may hit rate limits. - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - run: cargo-deny check advisories \ No newline at end of file + --gh-token ${{ secrets.GITHUB_TOKEN }} + - run: cargo-deny check advisories diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a8682fb..965dfa9 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -28,7 +28,7 @@ jobs: with: path: ~/.cache/typst key: typst - - run: cargo install --debug jas@0.2.0 + - run: cargo install --debug jas@0.3.0 - run: > jas install --gh typst/typst@v0.13.1 @@ -37,10 +37,7 @@ jobs: - 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 ffmpeg --archive-filename ffprobe --sha abda8d77ce8309141f83ab8edf0596834087c52467f6badf376a6a2a4c87cf67 - run: | @@ -59,7 +56,7 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - - run: cargo install --debug --git https://github.com/rikhuijzer/jas + - run: cargo install --debug jas@0.3.0 - run: > jas install --gh crate-ci/typos@v1.31.1 diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 48f572b..1d463e0 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -34,12 +34,11 @@ jobs: - run: | echo "DEEPINFRA_KEY=${{ secrets.DEEPINFRA_KEY }}" > keys.env echo "GOOGLE_KEY=${{ secrets.GOOGLE_KEY }}" >> keys.env - - 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: cargo install --debug jas@0.3.0 + - run: > + jas install --gh typst/typst@v0.13.1 + --sha 7d214bfeffc2e585dc422d1a09d2b144969421281e8c7f5d784b65fc69b5673f + --gh-token ${{ secrets.GITHUB_TOKEN }} - run: | mkdir _public echo "

Home page for the examples

" > _public/index.html