Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/auto-close-missing-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Close PRs missing linked issue for over 4 days
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 #v9.0.0
with:
script: |
const { owner, repo } = context.repo;
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-linked-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- name: Check for linked issue
id: check
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 #v9.0.0
with:
script: |
const pr = context.payload.pull_request;
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Apply missing-issue label and comment
if: steps.check.outputs.has_linked_issue == 'false'
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 #v9.0.0
with:
script: |
const { owner, repo } = context.repo;
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

- name: Remove missing-issue label and bot comment if issue is now linked
if: steps.check.outputs.has_linked_issue == 'true'
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b #v7
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 #v9.0.0
with:
script: |
const { owner, repo } = context.repo;
Expand Down
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
minilints:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
fetch-depth: 0
filter: blob:none
Expand All @@ -38,16 +38,16 @@ jobs:
format:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0

- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 #v1

- name: Install uv
uses: astral-sh/setup-uv@94527f2e458b27549849d47d273a16bec83a01e9 #v7
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #v7

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6.4.0
with:
node-version: '20'

Expand All @@ -57,7 +57,7 @@ jobs:
RUSTFLAGS: "--cap-lints warn"

- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b #v3
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0

- name: Run format checks
run: just fmt
Expand All @@ -67,10 +67,10 @@ jobs:
runs-on: ubuntu-24.04
name: check (linux)
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0

- name: Restore cargo cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: |
~/.cargo/registry/index
Expand All @@ -83,7 +83,7 @@ jobs:
restore-keys: cargo-${{ runner.os }}-

- name: Restore build output cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-Linux-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
Expand All @@ -96,14 +96,14 @@ jobs:
uses: ./.github/actions/setup-anki

- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b #v3
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0

- name: Symlink node_modules
run: ln -sf out/node_modules .

- name: Restore coverage baseline
if: github.event_name == 'pull_request'
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out/coverage
key: coverage-baseline-linux-${{ github.sha }}
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:

- name: Cache coverage baseline
if: github.ref_name == 'main'
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out/coverage
key: coverage-baseline-linux-${{ github.sha }}
Expand All @@ -151,7 +151,7 @@ jobs:

- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
with:
name: playwright-report
path: out/e2e-report/
Expand All @@ -165,14 +165,14 @@ jobs:
- name: Check Rust dependencies
if: github.event_name == 'pull_request'
id: rust-deps
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 #v47.0.5
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 #v47.0.5
with:
files: |
Cargo.lock
**/Cargo.toml
.deny.toml

- uses: EmbarkStudios/cargo-deny-action@8f84122a46a358a27cb0625d85ad60ab436a1b87 #v2
- uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe #v2
if: github.event_name != 'pull_request' || steps.rust-deps.outputs.any_changed == 'true'

# out/pyenv contains a venv with absolute Python paths that break
Expand All @@ -187,7 +187,7 @@ jobs:

- name: Save build output cache
if: always()
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-Linux-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
Expand All @@ -201,12 +201,12 @@ jobs:
runs-on: macos-latest
name: check (macos)
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
submodules: true

- name: Restore cargo cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: |
~/.cargo/registry/index
Expand All @@ -219,7 +219,7 @@ jobs:
restore-keys: cargo-macOS-

- name: Restore build output cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-macOS-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
Expand All @@ -232,7 +232,7 @@ jobs:
uses: ./.github/actions/setup-anki

- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b #v3
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0

- name: Symlink node_modules
run: ln -sf out/node_modules .
Expand All @@ -253,7 +253,7 @@ jobs:

- name: Save build output cache
if: always()
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-macOS-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
Expand All @@ -273,7 +273,7 @@ jobs:
TEMP: D:\tmp
TMP: D:\tmp
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
submodules: true

Expand All @@ -282,7 +282,7 @@ jobs:
run: mkdir -p /d/cargo-home /d/tmp

- name: Restore cargo cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: |
D:\cargo-home\registry\index
Expand All @@ -295,7 +295,7 @@ jobs:
restore-keys: cargo-Windows-

- name: Restore build output cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-Windows-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
Expand All @@ -308,7 +308,7 @@ jobs:
uses: ./.github/actions/setup-anki

- name: Install just
uses: extractions/setup-just@f8a3cce218d9f83db3a2ecd90e41ac3de6cdfd9b #v3
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0

- name: Build, lint, and test
run: |
Expand All @@ -326,7 +326,7 @@ jobs:

- name: Save build output cache
if: always()
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 #v4
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 #v6.1.0
with:
path: out
key: build-Windows-${{ github.event.pull_request.number || 'main' }}-${{ github.run_id }}
6 changes: 3 additions & 3 deletions .github/workflows/docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
validate:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0

- name: Install uv
uses: astral-sh/setup-uv@94527f2e458b27549849d47d273a16bec83a01e9 #v7
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 #v7

- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e #v6.4.0
with:
node-version: "22.15.0"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0
with:
submodules: true
fetch-depth: 0
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-audio-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ${{ matrix.runner }}
environment: ${{ matrix.needs_signing && inputs.sign-macos == true && 'release' || '' }}
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 #v7.0.0

- name: Setup build environment
uses: ./.github/actions/setup-anki
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
rm -f "$RUNNER_TEMP/certificate.p12" "$RUNNER_TEMP/AuthKey.p8"

- name: Upload wheel
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 #v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a #v7.0.1
with:
name: ${{ matrix.artifact }}
path: out/wheels/anki_audio-*.whl
Expand All @@ -112,7 +112,7 @@ jobs:
id-token: write
steps:
- name: Download all wheels
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 #v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
with:
pattern: wheel-*
path: dist
Expand All @@ -138,7 +138,7 @@ jobs:
id-token: write
steps:
- name: Download all wheels
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 #v4
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c #v8.0.1
with:
pattern: wheel-*
path: dist
Expand Down
Loading
Loading