mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-12-17 11:05:59 +00:00
Compare commits
1 Commits
v6.0
...
inline-dis
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6120bf3e89 |
9
.github/actionlint.yaml
vendored
9
.github/actionlint.yaml
vendored
@@ -1,9 +0,0 @@
|
|||||||
self-hosted-runner:
|
|
||||||
# Custom labels of self-hosted or large GitHub hosted runners
|
|
||||||
# so that actionlint knows that they are not a typo
|
|
||||||
labels:
|
|
||||||
- selfhosted-ubuntu-arm64
|
|
||||||
# Configuration variables in array of strings defined in your repository or
|
|
||||||
# organization. `null` means disabling configuration variables check.
|
|
||||||
# Empty array means no configuration variable is allowed.
|
|
||||||
config-variables: null
|
|
||||||
3
.github/workflows/release-drafter.yml
vendored
3
.github/workflows/release-drafter.yml
vendored
@@ -12,9 +12,6 @@ jobs:
|
|||||||
update_release_draft:
|
update_release_draft:
|
||||||
name: ✏️ Draft release
|
name: ✏️ Draft release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: read
|
|
||||||
steps:
|
steps:
|
||||||
- name: 🚀 Run Release Drafter
|
- name: 🚀 Run Release Drafter
|
||||||
uses: release-drafter/release-drafter@v6.1.0
|
uses: release-drafter/release-drafter@v6.1.0
|
||||||
|
|||||||
46
.github/workflows/test-cache-windows.yml
vendored
Normal file
46
.github/workflows/test-cache-windows.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: "test-cache-windows"
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-setup-cache:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__\fixtures\uv-project
|
||||||
|
test-restore-cache:
|
||||||
|
runs-on: windows-latest
|
||||||
|
needs: test-setup-cache
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Restore with cache
|
||||||
|
id: restore
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
- name: Cache was hit
|
||||||
|
run: |
|
||||||
|
if ($env:CACHE_HIT -ne "true") {
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__\fixtures\uv-project
|
||||||
232
.github/workflows/test-cache.yml
vendored
Normal file
232
.github/workflows/test-cache.yml
vendored
Normal file
@@ -0,0 +1,232 @@
|
|||||||
|
name: "test-cache"
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-setup-cache:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
enable-cache: [ "true", "false", "auto" ]
|
||||||
|
os: ["ubuntu-latest", "selfhosted-ubuntu-arm64"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: ${{ matrix.enable-cache }}
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-${{ matrix.os }}-${{ matrix.enable-cache }}
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
test-restore-cache:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
enable-cache: [ "true", "false", "auto" ]
|
||||||
|
os: [ "ubuntu-latest", "selfhosted-ubuntu-arm64" ]
|
||||||
|
needs: test-setup-cache
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Restore with cache
|
||||||
|
id: restore
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: ${{ matrix.enable-cache }}
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-${{ matrix.os }}-${{ matrix.enable-cache }}
|
||||||
|
- name: Cache was hit
|
||||||
|
if: ${{ matrix.enable-cache == 'true' || (matrix.enable-cache == 'auto' && matrix.os == 'ubuntu-latest') }}
|
||||||
|
run: |
|
||||||
|
if [ "$CACHE_HIT" != "true" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
- name: Cache was not hit
|
||||||
|
if: ${{ matrix.enable-cache == 'false' || (matrix.enable-cache == 'auto' && matrix.os == 'selfhosted-ubuntu-arm64') }}
|
||||||
|
run: |
|
||||||
|
if [ "$CACHE_HIT" == "true" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
test-setup-cache-requirements-txt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-requirements-txt
|
||||||
|
- run: |
|
||||||
|
uv venv
|
||||||
|
uv pip install -r requirements.txt
|
||||||
|
working-directory: __tests__/fixtures/requirements-txt-project
|
||||||
|
test-restore-cache-requirements-txt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test-setup-cache
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Restore with cache
|
||||||
|
id: restore
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-requirements-txt
|
||||||
|
- name: Cache was hit
|
||||||
|
run: |
|
||||||
|
if [ "$CACHE_HIT" != "true" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
- run: |
|
||||||
|
uv venv
|
||||||
|
uv pip install -r requirements.txt
|
||||||
|
working-directory: __tests__/fixtures/requirements-txt-project
|
||||||
|
|
||||||
|
test-setup-cache-dependency-glob:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-dependency-glob: |
|
||||||
|
__tests__/fixtures/uv-project/uv.lock
|
||||||
|
**/pyproject.toml
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-dependency-glob
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
test-restore-cache-dependency-glob:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: test-setup-cache-dependency-glob
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Change pyproject.toml
|
||||||
|
run: |
|
||||||
|
echo '[tool.uv]' >> __tests__/fixtures/uv-project/pyproject.toml
|
||||||
|
echo 'dev-dependencies = []' >> __tests__/fixtures/uv-project/pyproject.toml
|
||||||
|
- name: Restore with cache
|
||||||
|
id: restore
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-dependency-glob: |
|
||||||
|
__tests__/fixtures/uv-project/uv.lock
|
||||||
|
**/pyproject.toml
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-dependency-glob
|
||||||
|
ignore-nothing-to-cache: true
|
||||||
|
- name: Cache was not hit
|
||||||
|
run: |
|
||||||
|
if [ "$CACHE_HIT" == "true" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
|
||||||
|
test-setup-cache-local:
|
||||||
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-local
|
||||||
|
cache-local-path: /tmp/uv-cache
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
test-restore-cache-local:
|
||||||
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
|
needs: test-setup-cache-local
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Restore with cache
|
||||||
|
id: restore
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-local
|
||||||
|
cache-local-path: /tmp/uv-cache
|
||||||
|
- name: Cache was hit
|
||||||
|
run: |
|
||||||
|
if [ "$CACHE_HIT" != "true" ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
|
test-tilde-expansion-cache-local-path:
|
||||||
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Create cache directory
|
||||||
|
run: mkdir -p ~/uv-cache
|
||||||
|
shell: bash
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
cache-local-path: ~/uv-cache/cache-local-path
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
|
test-tilde-expansion-cache-dependency-glob:
|
||||||
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Create cache directory
|
||||||
|
run: mkdir -p ~/uv-cache
|
||||||
|
shell: bash
|
||||||
|
- name: Create cache dependency glob file
|
||||||
|
run: touch ~/uv-cache.glob
|
||||||
|
shell: bash
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
cache-local-path: ~/uv-cache/cache-dependency-glob
|
||||||
|
cache-dependency-glob: "~/uv-cache.glob"
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
|
cleanup-tilde-expansion-tests:
|
||||||
|
needs:
|
||||||
|
- test-tilde-expansion-cache-local-path
|
||||||
|
- test-tilde-expansion-cache-dependency-glob
|
||||||
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
|
steps:
|
||||||
|
- name: Remove cache directory
|
||||||
|
run: rm -rf ~/uv-cache
|
||||||
|
shell: bash
|
||||||
|
- name: Remove cache dependency glob file
|
||||||
|
run: rm -f ~/uv-cache.glob
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
test-no-python-version:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Fake pyproject.toml at root
|
||||||
|
run: cp __tests__/fixtures/old-python-constraint-project/pyproject.toml pyproject.toml
|
||||||
|
- name: Setup with cache
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
enable-cache: true
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/old-python-constraint-project
|
||||||
30
.github/workflows/test-windows.yml
vendored
Normal file
30
.github/workflows/test-windows.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
name: "test-windows"
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-default-version:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Should not be on path
|
||||||
|
run: |
|
||||||
|
if (!(Get-Command -Name "uv" -ErrorAction SilentlyContinue)) {
|
||||||
|
exit 0
|
||||||
|
} else {
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
- name: Setup uv
|
||||||
|
uses: ./
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__\fixtures\uv-project
|
||||||
402
.github/workflows/test.yml
vendored
402
.github/workflows/test.yml
vendored
@@ -12,9 +12,6 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -32,25 +29,17 @@ jobs:
|
|||||||
- name: Make sure no changes from linters are detected
|
- name: Make sure no changes from linters are detected
|
||||||
run: |
|
run: |
|
||||||
git diff --exit-code || (echo "::error::Please run 'npm run all' to fix the issues" && exit 1)
|
git diff --exit-code || (echo "::error::Please run 'npm run all' to fix the issues" && exit 1)
|
||||||
|
|
||||||
test-default-version:
|
test-default-version:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, macos-14, windows-latest]
|
os: [ubuntu-latest, macos-latest, macos-14]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install latest version
|
- name: Install latest version
|
||||||
id: setup-uv
|
|
||||||
uses: ./
|
uses: ./
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
shell: bash
|
|
||||||
- name: Check uv-path is set
|
|
||||||
run: ${{ steps.setup-uv.outputs.uv-path }} --version
|
|
||||||
- name: Check uvx-path is set
|
|
||||||
run: ${{ steps.setup-uv.outputs.uvx-path }} --version
|
|
||||||
|
|
||||||
test-specific-version:
|
test-specific-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@@ -64,12 +53,8 @@ jobs:
|
|||||||
version: ${{ matrix.uv-version }}
|
version: ${{ matrix.uv-version }}
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
test-semver-range:
|
test-semver-range:
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
matrix:
|
|
||||||
os: [ ubuntu-latest, selfhosted-ubuntu-arm64 ]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install version 0.3
|
- name: Install version 0.3
|
||||||
@@ -78,35 +63,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: "0.3"
|
version: "0.3"
|
||||||
- name: Correct version gets installed
|
- name: Correct version gets installed
|
||||||
run: |
|
|
||||||
if [ "$(uv --version)" != "uv 0.3.5" ]; then
|
|
||||||
echo "Wrong uv version: $(uv --version)"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
- name: Output has correct version
|
|
||||||
run: |
|
run: |
|
||||||
if [ "$UV_VERSION" != "0.3.5" ]; then
|
if [ "$UV_VERSION" != "0.3.5" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }}
|
UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }}
|
||||||
|
|
||||||
test-pep440-version:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install version 0.4.30
|
|
||||||
id: setup-uv
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
version: ">=0.4.25,<0.5"
|
|
||||||
- name: Correct version gets installed
|
|
||||||
run: |
|
|
||||||
if [ "$(uv --version)" != "uv 0.4.30" ]; then
|
|
||||||
echo "Wrong uv version: $(uv --version)"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
test-pyproject-file-version:
|
test-pyproject-file-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -115,25 +77,14 @@ jobs:
|
|||||||
id: setup-uv
|
id: setup-uv
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
working-directory: "__tests__/fixtures/pyproject-toml-project"
|
pyproject-file: "__tests__/fixtures/pyproject-toml-project/pyproject.toml"
|
||||||
- name: Correct version gets installed
|
- name: Correct version gets installed
|
||||||
run: |
|
run: |
|
||||||
if [ "$(uv --version)" != "uv 0.5.14" ]; then
|
if [ "$UV_VERSION" != "0.5.14" ]; then
|
||||||
echo "Wrong uv version: $(uv --version)"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
env:
|
||||||
test-malformed-pyproject-file-fallback:
|
UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }}
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install using malformed pyproject.toml
|
|
||||||
id: setup-uv
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
working-directory: "__tests__/fixtures/malformed-pyproject-toml-project"
|
|
||||||
- run: uv --help
|
|
||||||
|
|
||||||
test-uv-file-version:
|
test-uv-file-version:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -142,21 +93,26 @@ jobs:
|
|||||||
id: setup-uv
|
id: setup-uv
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
working-directory: "__tests__/fixtures/uv-toml-project"
|
pyproject-file: "__tests__/fixtures/uv-toml-project/pyproject.toml"
|
||||||
|
uv-file: "__tests__/fixtures/uv-toml-project/uv.toml"
|
||||||
- name: Correct version gets installed
|
- name: Correct version gets installed
|
||||||
run: |
|
run: |
|
||||||
if [ "$(uv --version)" != "uv 0.5.15" ]; then
|
if [ "$UV_VERSION" != "0.5.15" ]; then
|
||||||
echo "Wrong uv version: $(uv --version)"
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
env:
|
||||||
|
UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }}
|
||||||
test-checksum:
|
test-checksum:
|
||||||
runs-on: ${{ matrix.inputs.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
inputs:
|
os: [ubuntu-latest, macos-latest]
|
||||||
- os: ubuntu-latest
|
checksum:
|
||||||
|
["4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"]
|
||||||
|
exclude:
|
||||||
|
- os: macos-latest
|
||||||
checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"
|
checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"
|
||||||
|
include:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
checksum: "a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218"
|
checksum: "a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218"
|
||||||
steps:
|
steps:
|
||||||
@@ -165,10 +121,9 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
version: "0.3.2"
|
version: "0.3.2"
|
||||||
checksum: ${{ matrix.inputs.checksum }}
|
checksum: ${{ matrix.checksum }}
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
test-with-explicit-token:
|
test-with-explicit-token:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -179,7 +134,6 @@ jobs:
|
|||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
test-uvx:
|
test-uvx:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@@ -187,7 +141,6 @@ jobs:
|
|||||||
- name: Install default version
|
- name: Install default version
|
||||||
uses: ./
|
uses: ./
|
||||||
- run: uvx ruff --version
|
- run: uvx ruff --version
|
||||||
|
|
||||||
test-tool-install:
|
test-tool-install:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
@@ -205,7 +158,6 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
- run: uv tool install ruff
|
- run: uv tool install ruff
|
||||||
- run: ruff --version
|
- run: ruff --version
|
||||||
|
|
||||||
test-tilde-expansion-tool-dirs:
|
test-tilde-expansion-tool-dirs:
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
runs-on: selfhosted-ubuntu-arm64
|
||||||
steps:
|
steps:
|
||||||
@@ -225,9 +177,8 @@ jobs:
|
|||||||
echo "UV_TOOL_DIR does not contain /home/ubuntu/tool-dir: $UV_TOOL_DIR"
|
echo "UV_TOOL_DIR does not contain /home/ubuntu/tool-dir: $UV_TOOL_DIR"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test-python-version:
|
test-python-version:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
@@ -244,23 +195,8 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
|
|
||||||
test-activate-environment:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install latest version
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
python-version: 3.13.1t
|
|
||||||
activate-environment: true
|
|
||||||
- name: Verify packages can be installed
|
- name: Verify packages can be installed
|
||||||
run: uv pip install pip
|
run: uv pip install --python=3.13.1t pip
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: Verify python version is correct
|
- name: Verify python version is correct
|
||||||
run: |
|
run: |
|
||||||
@@ -269,7 +205,17 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
test-malformed-pyproject-file-fallback:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install using malformed pyproject.toml
|
||||||
|
id: setup-uv
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
pyproject-file: "__tests__/fixtures/malformed-pyproject-toml-project/pyproject.toml"
|
||||||
|
- run: uv sync
|
||||||
|
working-directory: __tests__/fixtures/uv-project
|
||||||
test-musl:
|
test-musl:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: alpine
|
container: alpine
|
||||||
@@ -279,287 +225,3 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
|
|
||||||
test-setup-cache:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
enable-cache: [ "true", "false", "auto" ]
|
|
||||||
os: [ "ubuntu-latest", "selfhosted-ubuntu-arm64", "windows-latest" ]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: ${{ matrix.enable-cache }}
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-${{ matrix.os }}-${{ matrix.enable-cache }}
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
shell: bash
|
|
||||||
test-restore-cache:
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
enable-cache: [ "true", "false", "auto" ]
|
|
||||||
os: [ "ubuntu-latest", "selfhosted-ubuntu-arm64", "windows-latest" ]
|
|
||||||
needs: test-setup-cache
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Restore with cache
|
|
||||||
id: restore
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: ${{ matrix.enable-cache }}
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-${{ matrix.os }}-${{ matrix.enable-cache }}
|
|
||||||
- name: Cache was hit
|
|
||||||
if: ${{ matrix.enable-cache == 'true' || (matrix.enable-cache == 'auto' && matrix.os == 'ubuntu-latest') }}
|
|
||||||
run: |
|
|
||||||
if [ "$CACHE_HIT" != "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
|
||||||
shell: bash
|
|
||||||
- name: Cache was not hit
|
|
||||||
if: ${{ matrix.enable-cache == 'false' || (matrix.enable-cache == 'auto' && matrix.os == 'selfhosted-ubuntu-arm64') }}
|
|
||||||
run: |
|
|
||||||
if [ "$CACHE_HIT" == "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
|
||||||
shell: bash
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
test-setup-cache-requirements-txt:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-requirements-txt
|
|
||||||
- run: |
|
|
||||||
uv venv
|
|
||||||
uv pip install -r requirements.txt
|
|
||||||
working-directory: __tests__/fixtures/requirements-txt-project
|
|
||||||
test-restore-cache-requirements-txt:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: test-setup-cache
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Restore with cache
|
|
||||||
id: restore
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-requirements-txt
|
|
||||||
- name: Cache was hit
|
|
||||||
run: |
|
|
||||||
if [ "$CACHE_HIT" != "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
|
||||||
- run: |
|
|
||||||
uv venv
|
|
||||||
uv pip install -r requirements.txt
|
|
||||||
working-directory: __tests__/fixtures/requirements-txt-project
|
|
||||||
|
|
||||||
test-setup-cache-dependency-glob:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-dependency-glob: |
|
|
||||||
__tests__/fixtures/uv-project/uv.lock
|
|
||||||
**/pyproject.toml
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-dependency-glob
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
test-restore-cache-dependency-glob:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: test-setup-cache-dependency-glob
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Change pyproject.toml
|
|
||||||
run: |
|
|
||||||
echo '[tool.uv]' >> __tests__/fixtures/uv-project/pyproject.toml
|
|
||||||
echo 'dev-dependencies = []' >> __tests__/fixtures/uv-project/pyproject.toml
|
|
||||||
- name: Restore with cache
|
|
||||||
id: restore
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-dependency-glob: |
|
|
||||||
__tests__/fixtures/uv-project/uv.lock
|
|
||||||
**/pyproject.toml
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-dependency-glob
|
|
||||||
ignore-nothing-to-cache: true
|
|
||||||
- name: Cache was not hit
|
|
||||||
run: |
|
|
||||||
if [ "$CACHE_HIT" == "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
|
||||||
|
|
||||||
test-cache-local:
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
inputs:
|
|
||||||
- os: ubuntu-latest
|
|
||||||
expected-cache-dir: "/home/runner/work/_temp/setup-uv-cache"
|
|
||||||
- os: windows-latest
|
|
||||||
expected-cache-dir: "D:\\a\\_temp\\setup-uv-cache"
|
|
||||||
- os: selfhosted-ubuntu-arm64
|
|
||||||
expected-cache-dir: "/home/ubuntu/.cache/uv"
|
|
||||||
runs-on: ${{ matrix.inputs.os }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-cache-local
|
|
||||||
- run: |
|
|
||||||
if [ "$UV_CACHE_DIR" != "${{ matrix.inputs.expected-cache-dir }}" ]; then
|
|
||||||
echo "UV_CACHE_DIR is not set to the expected value: $UV_CACHE_DIR"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
test-setup-cache-local:
|
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-local
|
|
||||||
cache-local-path: /tmp/uv-cache
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
test-restore-cache-local:
|
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
|
||||||
needs: test-setup-cache-local
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Restore with cache
|
|
||||||
id: restore
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-suffix: ${{ github.run_id }}-${{ github.run_attempt }}-test-setup-cache-local
|
|
||||||
cache-local-path: /tmp/uv-cache
|
|
||||||
- name: Cache was hit
|
|
||||||
run: |
|
|
||||||
if [ "$CACHE_HIT" != "true" ]; then
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
env:
|
|
||||||
CACHE_HIT: ${{ steps.restore.outputs.cache-hit }}
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
|
|
||||||
test-tilde-expansion-cache-local-path:
|
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Create cache directory
|
|
||||||
run: mkdir -p ~/uv-cache
|
|
||||||
shell: bash
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
cache-local-path: ~/uv-cache/cache-local-path
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
|
|
||||||
test-tilde-expansion-cache-dependency-glob:
|
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Create cache directory
|
|
||||||
run: mkdir -p ~/uv-cache
|
|
||||||
shell: bash
|
|
||||||
- name: Create cache dependency glob file
|
|
||||||
run: touch ~/uv-cache.glob
|
|
||||||
shell: bash
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
cache-local-path: ~/uv-cache/cache-dependency-glob
|
|
||||||
cache-dependency-glob: "~/uv-cache.glob"
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/uv-project
|
|
||||||
|
|
||||||
cleanup-tilde-expansion-tests:
|
|
||||||
needs:
|
|
||||||
- test-tilde-expansion-cache-local-path
|
|
||||||
- test-tilde-expansion-cache-dependency-glob
|
|
||||||
if: always()
|
|
||||||
runs-on: selfhosted-ubuntu-arm64
|
|
||||||
steps:
|
|
||||||
- name: Remove cache directory
|
|
||||||
run: rm -rf ~/uv-cache
|
|
||||||
shell: bash
|
|
||||||
- name: Remove cache dependency glob file
|
|
||||||
run: rm -f ~/uv-cache.glob
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
test-no-python-version:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Fake pyproject.toml at root
|
|
||||||
run: cp __tests__/fixtures/old-python-constraint-project/pyproject.toml pyproject.toml
|
|
||||||
- name: Setup with cache
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
enable-cache: true
|
|
||||||
- run: uv sync
|
|
||||||
working-directory: __tests__/fixtures/old-python-constraint-project
|
|
||||||
|
|
||||||
all-tests-passed:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs:
|
|
||||||
- lint
|
|
||||||
- test-default-version
|
|
||||||
- test-specific-version
|
|
||||||
- test-semver-range
|
|
||||||
- test-pep440-version
|
|
||||||
- test-pyproject-file-version
|
|
||||||
- test-malformed-pyproject-file-fallback
|
|
||||||
- test-uv-file-version
|
|
||||||
- test-checksum
|
|
||||||
- test-with-explicit-token
|
|
||||||
- test-uvx
|
|
||||||
- test-tool-install
|
|
||||||
- test-tilde-expansion-tool-dirs
|
|
||||||
- test-python-version
|
|
||||||
- test-activate-environment
|
|
||||||
- test-musl
|
|
||||||
- test-cache-local
|
|
||||||
- test-restore-cache
|
|
||||||
- test-restore-cache-requirements-txt
|
|
||||||
- test-restore-cache-dependency-glob
|
|
||||||
- test-restore-cache-local
|
|
||||||
- test-tilde-expansion-cache-local-path
|
|
||||||
- test-tilde-expansion-cache-dependency-glob
|
|
||||||
- cleanup-tilde-expansion-tests
|
|
||||||
- test-no-python-version
|
|
||||||
if: always()
|
|
||||||
steps:
|
|
||||||
- name: All tests passed
|
|
||||||
run: |
|
|
||||||
echo "All jobs passed: ${{ !contains(needs.*.result, 'failure') }}"
|
|
||||||
# shellcheck disable=SC2242
|
|
||||||
exit ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
|
|
||||||
|
|||||||
3
.github/workflows/update-known-checksums.yml
vendored
3
.github/workflows/update-known-checksums.yml
vendored
@@ -7,9 +7,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ jobs:
|
|||||||
update_major_minor_tags:
|
update_major_minor_tags:
|
||||||
name: Make sure major and minor tags are up to date on a patch release
|
name: Make sure major and minor tags are up to date on a patch release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Update Major Minor Tags
|
- name: Update Major Minor Tags
|
||||||
|
|||||||
122
README.md
122
README.md
@@ -14,10 +14,9 @@ Set up your GitHub Actions workflow with a specific version of [uv](https://docs
|
|||||||
- [Install a required-version or latest (default)](#install-a-required-version-or-latest-default)
|
- [Install a required-version or latest (default)](#install-a-required-version-or-latest-default)
|
||||||
- [Install the latest version](#install-the-latest-version)
|
- [Install the latest version](#install-the-latest-version)
|
||||||
- [Install a specific version](#install-a-specific-version)
|
- [Install a specific version](#install-a-specific-version)
|
||||||
- [Install a version by supplying a semver range or pep440 specifier](#install-a-version-by-supplying-a-semver-range-or-pep440-specifier)
|
- [Install a version by supplying a semver range](#install-a-version-by-supplying-a-semver-range)
|
||||||
|
- [Install a required-version](#install-a-required-version)
|
||||||
- [Python version](#python-version)
|
- [Python version](#python-version)
|
||||||
- [Activate environment](#activate-environment)
|
|
||||||
- [Working directory](#working-directory)
|
|
||||||
- [Validate checksum](#validate-checksum)
|
- [Validate checksum](#validate-checksum)
|
||||||
- [Enable Caching](#enable-caching)
|
- [Enable Caching](#enable-caching)
|
||||||
- [Cache dependency glob](#cache-dependency-glob)
|
- [Cache dependency glob](#cache-dependency-glob)
|
||||||
@@ -37,7 +36,7 @@ Set up your GitHub Actions workflow with a specific version of [uv](https://docs
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv
|
- name: Install the latest version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
```
|
```
|
||||||
|
|
||||||
If you do not specify a version, this action will look for a [required-version](https://docs.astral.sh/uv/reference/settings/#required-version)
|
If you do not specify a version, this action will look for a [required-version](https://docs.astral.sh/uv/reference/settings/#required-version)
|
||||||
@@ -50,7 +49,7 @@ For an example workflow, see
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv
|
- name: Install the latest version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
```
|
```
|
||||||
@@ -59,47 +58,62 @@ For an example workflow, see
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install a specific version of uv
|
- name: Install a specific version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: "0.4.4"
|
version: "0.4.4"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install a version by supplying a semver range or pep440 specifier
|
### Install a version by supplying a semver range
|
||||||
|
|
||||||
You can specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges)
|
You can specify a [semver range](https://github.com/npm/node-semver?tab=readme-ov-file#ranges)
|
||||||
or [pep440 specifier](https://peps.python.org/pep-0440/#version-specifiers)
|
|
||||||
to install the latest version that satisfies the range.
|
to install the latest version that satisfies the range.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install a semver range of uv
|
- name: Install a semver range of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: ">=0.4.0"
|
version: ">=0.4.0"
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Pinning a minor version of uv
|
- name: Pinning a minor version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: "0.4.x"
|
version: "0.4.x"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install a required-version
|
||||||
|
|
||||||
|
You can specify a [required-version](https://docs.astral.sh/uv/reference/settings/#required-version)
|
||||||
|
in either a `uv.toml` or `pyproject.toml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install a pep440-specifier-satisfying version of uv
|
- name: Install required-version defined in uv.toml
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: ">=0.4.25,<0.5"
|
uv-file: "path/to/uv.toml"
|
||||||
|
```
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- name: Install required-version defined in pyproject.toml
|
||||||
|
uses: astral-sh/setup-uv@v5
|
||||||
|
with:
|
||||||
|
pyproject-file: "path/to/pyproject.toml"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Python version
|
### Python version
|
||||||
|
|
||||||
You can use the input `python-version` to set the environment variable `UV_PYTHON` for the rest of your workflow
|
You can use the input `python-version` to
|
||||||
|
|
||||||
|
- set the environment variable `UV_PYTHON` for the rest of your workflow
|
||||||
|
- create a new virtual environment with the specified python version
|
||||||
|
- activate the virtual environment for the rest of your workflow
|
||||||
|
|
||||||
This will override any python version specifications in `pyproject.toml` and `.python-version`
|
This will override any python version specifications in `pyproject.toml` and `.python-version`
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv and set the python version to 3.13t
|
- name: Install the latest version of uv and set the python version to 3.13t
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.13t
|
python-version: 3.13t
|
||||||
- run: uv pip install --python=3.13t pip
|
- run: uv pip install --python=3.13t pip
|
||||||
@@ -117,41 +131,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install the latest version of uv and set the python version
|
- name: Install the latest version of uv and set the python version
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Test with python ${{ matrix.python-version }}
|
- name: Test with python ${{ matrix.python-version }}
|
||||||
run: uv run --frozen pytest
|
run: uv run --frozen pytest
|
||||||
```
|
```
|
||||||
|
|
||||||
### Activate environment
|
|
||||||
|
|
||||||
You can set `activate-environment` to `true` to automatically activate a venv.
|
|
||||||
This allows directly using it in later steps:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Install the latest version of uv and activate the environment
|
|
||||||
uses: astral-sh/setup-uv@v6
|
|
||||||
with:
|
|
||||||
activate-environment: true
|
|
||||||
- run: uv pip install pip
|
|
||||||
```
|
|
||||||
|
|
||||||
### Working directory
|
|
||||||
|
|
||||||
You can set the working directory with the `working-directory` input.
|
|
||||||
This controls where we look for `pyproject.toml`, `uv.toml` and `.python-version` files
|
|
||||||
which are used to determine the version of uv and python to install.
|
|
||||||
|
|
||||||
It also controls where [the venv gets created](#activate-environment).
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Install uv based on the config files in the working-directory
|
|
||||||
uses: astral-sh/setup-uv@v6
|
|
||||||
with:
|
|
||||||
working-directory: my/subproject/dir
|
|
||||||
```
|
|
||||||
|
|
||||||
### Validate checksum
|
### Validate checksum
|
||||||
|
|
||||||
You can specify a checksum to validate the downloaded executable. Checksums up to the default version
|
You can specify a checksum to validate the downloaded executable. Checksums up to the default version
|
||||||
@@ -160,7 +146,7 @@ are automatically verified by this action. The sha256 hashes can be found on the
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install a specific version and validate the checksum
|
- name: Install a specific version and validate the checksum
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
version: "0.3.1"
|
version: "0.3.1"
|
||||||
checksum: "e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8"
|
checksum: "e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8"
|
||||||
@@ -182,7 +168,7 @@ You can optionally define a custom cache key suffix.
|
|||||||
```yaml
|
```yaml
|
||||||
- name: Enable caching and define a custom cache key suffix
|
- name: Enable caching and define a custom cache key suffix
|
||||||
id: setup-uv
|
id: setup-uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
cache-suffix: "optional-suffix"
|
cache-suffix: "optional-suffix"
|
||||||
@@ -205,22 +191,16 @@ changes. If you use relative paths, they are relative to the repository root.
|
|||||||
|
|
||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
>
|
>
|
||||||
> You can look up supported patterns [here](https://github.com/actions/toolkit/tree/main/packages/glob#patterns)
|
|
||||||
>
|
|
||||||
> The default is
|
> The default is
|
||||||
> ```yaml
|
> ```yaml
|
||||||
> cache-dependency-glob: |
|
> cache-dependency-glob: |
|
||||||
> **/*requirements*.txt
|
> **/requirements*.txt
|
||||||
> **/*requirements*.in
|
|
||||||
> **/*constraints*.txt
|
|
||||||
> **/*constraints*.in
|
|
||||||
> **/pyproject.toml
|
|
||||||
> **/uv.lock
|
> **/uv.lock
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Define a cache dependency glob
|
- name: Define a cache dependency glob
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
cache-dependency-glob: "**/pyproject.toml"
|
cache-dependency-glob: "**/pyproject.toml"
|
||||||
@@ -228,7 +208,7 @@ changes. If you use relative paths, they are relative to the repository root.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Define a list of cache dependency globs
|
- name: Define a list of cache dependency globs
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
cache-dependency-glob: |
|
cache-dependency-glob: |
|
||||||
@@ -238,7 +218,7 @@ changes. If you use relative paths, they are relative to the repository root.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Define an absolute cache dependency glob
|
- name: Define an absolute cache dependency glob
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
|
cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
|
||||||
@@ -246,7 +226,7 @@ changes. If you use relative paths, they are relative to the repository root.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Never invalidate the cache
|
- name: Never invalidate the cache
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
cache-dependency-glob: ""
|
cache-dependency-glob: ""
|
||||||
@@ -261,7 +241,7 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\uv-tool-dir` on Wi
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Define a custom uv cache path
|
- name: Define a custom uv cache path
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
cache-local-path: "/path/to/cache"
|
cache-local-path: "/path/to/cache"
|
||||||
```
|
```
|
||||||
@@ -280,7 +260,7 @@ input.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Don't prune the cache before saving it
|
- name: Don't prune the cache before saving it
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
prune-cache: false
|
prune-cache: false
|
||||||
@@ -293,7 +273,7 @@ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Ignore nothing to cache
|
- name: Ignore nothing to cache
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
ignore-nothing-to-cache: true
|
ignore-nothing-to-cache: true
|
||||||
@@ -308,7 +288,7 @@ If you want to ignore this, set the `ignore-empty-workdir` input to `true`.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Ignore empty workdir
|
- name: Ignore empty workdir
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
ignore-empty-workdir: true
|
ignore-empty-workdir: true
|
||||||
```
|
```
|
||||||
@@ -325,7 +305,7 @@ are not sufficient, you can provide a custom GitHub token with the necessary per
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv with a custom GitHub token
|
- name: Install the latest version of uv with a custom GitHub token
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
github-token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
|
||||||
```
|
```
|
||||||
@@ -343,7 +323,7 @@ input:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv with a custom tool dir
|
- name: Install the latest version of uv with a custom tool dir
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
tool-dir: "/path/to/tool/dir"
|
tool-dir: "/path/to/tool/dir"
|
||||||
```
|
```
|
||||||
@@ -362,7 +342,7 @@ If you want to change this behaviour (especially on self-hosted runners) you can
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv with a custom tool bin dir
|
- name: Install the latest version of uv with a custom tool bin dir
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
tool-bin-dir: "/path/to/tool-bin/dir"
|
tool-bin-dir: "/path/to/tool-bin/dir"
|
||||||
```
|
```
|
||||||
@@ -378,7 +358,7 @@ This action supports expanding the `~` character to the user's home directory fo
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Expand the tilde character
|
- name: Expand the tilde character
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
cache-local-path: "~/path/to/cache"
|
cache-local-path: "~/path/to/cache"
|
||||||
tool-dir: "~/path/to/tool/dir"
|
tool-dir: "~/path/to/tool/dir"
|
||||||
@@ -393,7 +373,7 @@ This action downloads uv from the uv repo's official
|
|||||||
[GitHub Actions Toolkit](https://github.com/actions/toolkit) to cache it as a tool to speed up
|
[GitHub Actions Toolkit](https://github.com/actions/toolkit) to cache it as a tool to speed up
|
||||||
consecutive runs on self-hosted runners.
|
consecutive runs on self-hosted runners.
|
||||||
|
|
||||||
The installed version of uv is then added to the runner PATH, enabling later steps to invoke it
|
The installed version of uv is then added to the runner PATH, enabling subsequent steps to invoke it
|
||||||
by name (`uv`).
|
by name (`uv`).
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
@@ -411,7 +391,7 @@ For example:
|
|||||||
- name: Checkout the repository
|
- name: Checkout the repository
|
||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
- name: Install the latest version of uv
|
- name: Install the latest version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
- name: Test
|
- name: Test
|
||||||
@@ -423,7 +403,7 @@ To install a specific version of Python, use
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Install the latest version of uv
|
- name: Install the latest version of uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
with:
|
with:
|
||||||
enable-cache: true
|
enable-cache: true
|
||||||
- name: Install Python 3.12
|
- name: Install Python 3.12
|
||||||
@@ -442,7 +422,7 @@ output:
|
|||||||
uses: actions/checkout@main
|
uses: actions/checkout@main
|
||||||
- name: Install the default version of uv
|
- name: Install the default version of uv
|
||||||
id: setup-uv
|
id: setup-uv
|
||||||
uses: astral-sh/setup-uv@v6
|
uses: astral-sh/setup-uv@v5
|
||||||
- name: Print the installed version
|
- name: Print the installed version
|
||||||
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
|
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
|
||||||
```
|
```
|
||||||
@@ -468,11 +448,11 @@ because they try to upload with the same cache key.
|
|||||||
You might see errors like
|
You might see errors like
|
||||||
`Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists`
|
`Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists`
|
||||||
|
|
||||||
### Why do I see warnings like `No GitHub Actions cache found for key`
|
### Why do I see warnings like `Cache not found for keys`
|
||||||
|
|
||||||
When a workflow runs for the first time on a branch and has a new cache key, because the
|
When a workflow runs for the first time on a branch and has a new cache key, because the
|
||||||
[cache-dependency-glob](#cache-dependency-glob) found changed files (changed dependencies),
|
[cache-dependency-glob](#cache-dependency-glob) found changed files (changed dependencies),
|
||||||
the cache will not be found and the warning `No GitHub Actions cache found for key` will be printed.
|
the cache will not be found and the warning `Cache not found for keys` will be printed.
|
||||||
|
|
||||||
While this might be irritating at first, it is expected behaviour and the cache will be created
|
While this might be irritating at first, it is expected behaviour and the cache will be created
|
||||||
and reused in later workflows.
|
and reused in later workflows.
|
||||||
|
|||||||
22
action.yml
22
action.yml
@@ -6,15 +6,15 @@ inputs:
|
|||||||
version:
|
version:
|
||||||
description: "The version of uv to install e.g., `0.5.0` Defaults to the version in pyproject.toml or 'latest'."
|
description: "The version of uv to install e.g., `0.5.0` Defaults to the version in pyproject.toml or 'latest'."
|
||||||
default: ""
|
default: ""
|
||||||
|
pyproject-file:
|
||||||
|
description: "Path to a pyproject.toml"
|
||||||
|
default: ""
|
||||||
|
uv-file:
|
||||||
|
description: "Path to a uv.toml"
|
||||||
|
default: ""
|
||||||
python-version:
|
python-version:
|
||||||
description: "The version of Python to set UV_PYTHON to"
|
description: "The version of Python to set UV_PYTHON to"
|
||||||
required: false
|
required: false
|
||||||
activate-environment:
|
|
||||||
description: "Use uv venv to activate a venv ready to be used by later steps. "
|
|
||||||
default: "false"
|
|
||||||
working-directory:
|
|
||||||
description: "The directory to execute all commands in and look for files such as pyproject.toml"
|
|
||||||
default: ${{ github.workspace }}
|
|
||||||
checksum:
|
checksum:
|
||||||
description: "The checksum of the uv version to install"
|
description: "The checksum of the uv version to install"
|
||||||
required: false
|
required: false
|
||||||
@@ -31,12 +31,8 @@ inputs:
|
|||||||
"Glob pattern to match files relative to the repository root to control
|
"Glob pattern to match files relative to the repository root to control
|
||||||
the cache."
|
the cache."
|
||||||
default: |
|
default: |
|
||||||
**/*requirements*.txt
|
|
||||||
**/*requirements*.in
|
|
||||||
**/*constraints*.txt
|
|
||||||
**/*constraints*.in
|
|
||||||
**/pyproject.toml
|
|
||||||
**/uv.lock
|
**/uv.lock
|
||||||
|
**/requirements*.txt
|
||||||
cache-suffix:
|
cache-suffix:
|
||||||
description: "Suffix for the cache key"
|
description: "Suffix for the cache key"
|
||||||
required: false
|
required: false
|
||||||
@@ -61,10 +57,6 @@ inputs:
|
|||||||
outputs:
|
outputs:
|
||||||
uv-version:
|
uv-version:
|
||||||
description: "The installed uv version. Useful when using latest."
|
description: "The installed uv version. Useful when using latest."
|
||||||
uv-path:
|
|
||||||
description: "The path to the installed uv binary."
|
|
||||||
uvx-path:
|
|
||||||
description: "The path to the installed uvx binary."
|
|
||||||
cache-hit:
|
cache-hit:
|
||||||
description: "A boolean value to indicate a cache entry was found"
|
description: "A boolean value to indicate a cache entry was found"
|
||||||
runs:
|
runs:
|
||||||
|
|||||||
101
dist/save-cache/index.js
generated
vendored
101
dist/save-cache/index.js
generated
vendored
@@ -220,7 +220,7 @@ function restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsAr
|
|||||||
};
|
};
|
||||||
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
const response = yield twirpClient.GetCacheEntryDownloadURL(request);
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);
|
core.debug(`Cache not found for keys: ${keys.join(', ')}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
core.info(`Cache hit for: ${request.key}`);
|
core.info(`Cache hit for: ${request.key}`);
|
||||||
@@ -2204,7 +2204,6 @@ const cacheUtils_1 = __nccwpck_require__(8299);
|
|||||||
const auth_1 = __nccwpck_require__(4552);
|
const auth_1 = __nccwpck_require__(4552);
|
||||||
const http_client_1 = __nccwpck_require__(4844);
|
const http_client_1 = __nccwpck_require__(4844);
|
||||||
const cache_twirp_client_1 = __nccwpck_require__(1486);
|
const cache_twirp_client_1 = __nccwpck_require__(1486);
|
||||||
const util_1 = __nccwpck_require__(7564);
|
|
||||||
/**
|
/**
|
||||||
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
* This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.
|
||||||
*
|
*
|
||||||
@@ -2264,7 +2263,6 @@ class CacheServiceClient {
|
|||||||
(0, core_1.debug)(`[Response] - ${response.message.statusCode}`);
|
(0, core_1.debug)(`[Response] - ${response.message.statusCode}`);
|
||||||
(0, core_1.debug)(`Headers: ${JSON.stringify(response.message.headers, null, 2)}`);
|
(0, core_1.debug)(`Headers: ${JSON.stringify(response.message.headers, null, 2)}`);
|
||||||
const body = JSON.parse(rawBody);
|
const body = JSON.parse(rawBody);
|
||||||
(0, util_1.maskSecretUrls)(body);
|
|
||||||
(0, core_1.debug)(`Body: ${JSON.stringify(body, null, 2)}`);
|
(0, core_1.debug)(`Body: ${JSON.stringify(body, null, 2)}`);
|
||||||
if (this.isSuccessStatusCode(statusCode)) {
|
if (this.isSuccessStatusCode(statusCode)) {
|
||||||
return { response, body };
|
return { response, body };
|
||||||
@@ -2446,87 +2444,6 @@ exports.getUserAgentString = getUserAgentString;
|
|||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
/***/ 7564:
|
|
||||||
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
||||||
exports.maskSecretUrls = exports.maskSigUrl = void 0;
|
|
||||||
const core_1 = __nccwpck_require__(7484);
|
|
||||||
/**
|
|
||||||
* Masks the `sig` parameter in a URL and sets it as a secret.
|
|
||||||
*
|
|
||||||
* @param url - The URL containing the signature parameter to mask
|
|
||||||
* @remarks
|
|
||||||
* This function attempts to parse the provided URL and identify the 'sig' query parameter.
|
|
||||||
* If found, it registers both the raw and URL-encoded signature values as secrets using
|
|
||||||
* the Actions `setSecret` API, which prevents them from being displayed in logs.
|
|
||||||
*
|
|
||||||
* The function handles errors gracefully if URL parsing fails, logging them as debug messages.
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* ```typescript
|
|
||||||
* // Mask a signature in an Azure SAS token URL
|
|
||||||
* maskSigUrl('https://example.blob.core.windows.net/container/file.txt?sig=abc123&se=2023-01-01');
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
function maskSigUrl(url) {
|
|
||||||
if (!url)
|
|
||||||
return;
|
|
||||||
try {
|
|
||||||
const parsedUrl = new URL(url);
|
|
||||||
const signature = parsedUrl.searchParams.get('sig');
|
|
||||||
if (signature) {
|
|
||||||
(0, core_1.setSecret)(signature);
|
|
||||||
(0, core_1.setSecret)(encodeURIComponent(signature));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (error) {
|
|
||||||
(0, core_1.debug)(`Failed to parse URL: ${url} ${error instanceof Error ? error.message : String(error)}`);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exports.maskSigUrl = maskSigUrl;
|
|
||||||
/**
|
|
||||||
* Masks sensitive information in URLs containing signature parameters.
|
|
||||||
* Currently supports masking 'sig' parameters in the 'signed_upload_url'
|
|
||||||
* and 'signed_download_url' properties of the provided object.
|
|
||||||
*
|
|
||||||
* @param body - The object should contain a signature
|
|
||||||
* @remarks
|
|
||||||
* This function extracts URLs from the object properties and calls maskSigUrl
|
|
||||||
* on each one to redact sensitive signature information. The function doesn't
|
|
||||||
* modify the original object; it only marks the signatures as secrets for
|
|
||||||
* logging purposes.
|
|
||||||
*
|
|
||||||
* @example
|
|
||||||
* ```typescript
|
|
||||||
* const responseBody = {
|
|
||||||
* signed_upload_url: 'https://blob.core.windows.net/?sig=abc123',
|
|
||||||
* signed_download_url: 'https://blob.core/windows.net/?sig=def456'
|
|
||||||
* };
|
|
||||||
* maskSecretUrls(responseBody);
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
function maskSecretUrls(body) {
|
|
||||||
if (typeof body !== 'object' || body === null) {
|
|
||||||
(0, core_1.debug)('body is not an object or is null');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if ('signed_upload_url' in body &&
|
|
||||||
typeof body.signed_upload_url === 'string') {
|
|
||||||
maskSigUrl(body.signed_upload_url);
|
|
||||||
}
|
|
||||||
if ('signed_download_url' in body &&
|
|
||||||
typeof body.signed_download_url === 'string') {
|
|
||||||
maskSigUrl(body.signed_download_url);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
exports.maskSecretUrls = maskSecretUrls;
|
|
||||||
//# sourceMappingURL=util.js.map
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ 5321:
|
/***/ 5321:
|
||||||
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
|
||||||
|
|
||||||
@@ -88731,7 +88648,7 @@ async function getPythonVersion() {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
try {
|
try {
|
||||||
const execArgs = ["python", "find", "--directory", inputs_1.workingDirectory];
|
const execArgs = ["python", "find"];
|
||||||
await exec.exec("uv", execArgs, options);
|
await exec.exec("uv", execArgs, options);
|
||||||
const pythonPath = output.trim();
|
const pythonPath = output.trim();
|
||||||
output = "";
|
output = "";
|
||||||
@@ -88997,13 +88914,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|||||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||||
exports.githubToken = exports.toolDir = exports.toolBinDir = exports.ignoreEmptyWorkdir = exports.ignoreNothingToCache = exports.pruneCache = exports.cacheDependencyGlob = exports.cacheLocalPath = exports.cacheSuffix = exports.enableCache = exports.checkSum = exports.workingDirectory = exports.activateEnvironment = exports.pythonVersion = exports.version = void 0;
|
exports.githubToken = exports.toolDir = exports.toolBinDir = exports.ignoreEmptyWorkdir = exports.ignoreNothingToCache = exports.pruneCache = exports.cacheDependencyGlob = exports.cacheLocalPath = exports.cacheSuffix = exports.enableCache = exports.checkSum = exports.pythonVersion = exports.uvFile = exports.pyProjectFile = exports.version = void 0;
|
||||||
const core = __importStar(__nccwpck_require__(7484));
|
const core = __importStar(__nccwpck_require__(7484));
|
||||||
const node_path_1 = __importDefault(__nccwpck_require__(6760));
|
const node_path_1 = __importDefault(__nccwpck_require__(6760));
|
||||||
exports.version = core.getInput("version");
|
exports.version = core.getInput("version");
|
||||||
|
exports.pyProjectFile = core.getInput("pyproject-file");
|
||||||
|
exports.uvFile = core.getInput("uv-file");
|
||||||
exports.pythonVersion = core.getInput("python-version");
|
exports.pythonVersion = core.getInput("python-version");
|
||||||
exports.activateEnvironment = core.getBooleanInput("activate-environment");
|
|
||||||
exports.workingDirectory = core.getInput("working-directory");
|
|
||||||
exports.checkSum = core.getInput("checksum");
|
exports.checkSum = core.getInput("checksum");
|
||||||
exports.enableCache = getEnableCache();
|
exports.enableCache = getEnableCache();
|
||||||
exports.cacheSuffix = core.getInput("cache-suffix") || "";
|
exports.cacheSuffix = core.getInput("cache-suffix") || "";
|
||||||
@@ -89053,16 +88970,10 @@ function getCacheLocalPath() {
|
|||||||
if (cacheLocalPathInput !== "") {
|
if (cacheLocalPathInput !== "") {
|
||||||
return expandTilde(cacheLocalPathInput);
|
return expandTilde(cacheLocalPathInput);
|
||||||
}
|
}
|
||||||
if (process.env.RUNNER_ENVIRONMENT === "github-hosted") {
|
|
||||||
if (process.env.RUNNER_TEMP !== undefined) {
|
if (process.env.RUNNER_TEMP !== undefined) {
|
||||||
return `${process.env.RUNNER_TEMP}${node_path_1.default.sep}setup-uv-cache`;
|
return `${process.env.RUNNER_TEMP}${node_path_1.default.sep}setup-uv-cache`;
|
||||||
}
|
}
|
||||||
throw Error("Could not determine UV_CACHE_DIR. Please make sure RUNNER_TEMP is set or provide the cache-local-path input");
|
throw Error("Could not determine UV_CACHE_DIR. Please make sure RUNNER_TEMP is set or provide the cache-local-path input");
|
||||||
}
|
|
||||||
if (process.platform === "win32") {
|
|
||||||
return `${process.env.APPDATA}${node_path_1.default.sep}uv${node_path_1.default.sep}cache`;
|
|
||||||
}
|
|
||||||
return `${process.env.HOME}${node_path_1.default.sep}.cache${node_path_1.default.sep}uv`;
|
|
||||||
}
|
}
|
||||||
function expandTilde(input) {
|
function expandTilde(input) {
|
||||||
if (input.startsWith("~")) {
|
if (input.startsWith("~")) {
|
||||||
@@ -91085,7 +90996,7 @@ module.exports = parseParams
|
|||||||
/***/ ((module) => {
|
/***/ ((module) => {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.3","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/node":"^22.13.9","@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
|
module.exports = /*#__PURE__*/JSON.parse('{"name":"@actions/cache","version":"4.0.2","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^1.11.1","@actions/exec":"^1.0.1","@actions/glob":"^0.1.0","@actions/http-client":"^2.1.1","@actions/io":"^1.0.1","@azure/abort-controller":"^1.1.0","@azure/ms-rest-js":"^2.6.0","@azure/storage-blob":"^12.13.0","@protobuf-ts/plugin":"^2.9.4","semver":"^6.3.1"},"devDependencies":{"@types/semver":"^6.0.0","typescript":"^5.2.2"}}');
|
||||||
|
|
||||||
/***/ }),
|
/***/ }),
|
||||||
|
|
||||||
|
|||||||
1428
dist/setup/index.js
generated
vendored
1428
dist/setup/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
320
dist/update-known-checksums/index.js
generated
vendored
320
dist/update-known-checksums/index.js
generated
vendored
@@ -58847,193 +58847,6 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|||||||
exports.KNOWN_CHECKSUMS = void 0;
|
exports.KNOWN_CHECKSUMS = void 0;
|
||||||
// AUTOGENERATED_DO_NOT_EDIT
|
// AUTOGENERATED_DO_NOT_EDIT
|
||||||
exports.KNOWN_CHECKSUMS = {
|
exports.KNOWN_CHECKSUMS = {
|
||||||
"aarch64-apple-darwin-0.6.17": "e686c73b9314c77a36a6a4c9f94b07c001f0c9157c50c63c764941141c0d0088",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.17": "3a9468e90df970f75759da6caed7dfde2816e0f3842031235c3835fc0c4e7d09",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.17": "6fb716c36e8ca9cf98b7cb347b0ced41679145837eb22890ee5fa9d8b68ce9f5",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.17": "98750f5c0cd9eb520799d10649efb18441b616150f07e6c1125f616a3fd137e8",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.17": "649d8d0f37e8365af5aaa012b09dd083d6e71018e569a4d2e78316d5013f18a7",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.17": "efc12955d7a6120ea0be2de5ee03dbb33d0d7d9de9dbe0dce560514f2ee129d3",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.17": "0661d97df8262ef83ccdc6a55ed101abfe8f1cf1ff1be879d9b0d7d1e894c970",
|
|
||||||
"i686-pc-windows-msvc-0.6.17": "56dea6c98e1606e95445e77177d7e3cd49bb3d1a63c81b11fe49bf733adb62a2",
|
|
||||||
"i686-unknown-linux-gnu-0.6.17": "4bc37f8303a4a5aae1c309f08166884027f325b6872c418cfbaa2cf20a2b2ac5",
|
|
||||||
"i686-unknown-linux-musl-0.6.17": "8ec08cca0806a9205ccf5758258c617b57e413b33275bcd861fca363e0eaddf7",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.17": "d33b70ab206e1ed0663e755506a11db3776787012bfe9d2b2138a90942f506be",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.17": "cd91a579850fc45d3b786a654a2c0343836f007929b2e35de9606082eec5361f",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.17": "3c753a9d3485bbac23403a0b41a9e70ceeb586f3b4df891ced7ed27d4c6c542b",
|
|
||||||
"x86_64-apple-darwin-0.6.17": "61e9bdc02aacdb994da6ea2a477b11b34c23fc09203237aeee8d3817daab012d",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.17": "32882cf98f646cafca003e7a7c471b7ff4ba977b681c9fa3b12cf908ba64af82",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.17": "720ec28f7a94aa8cd91d3d57dec1434d64b9ae13d1dd6a25f4c0cdb837ba9cf6",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.17": "28bd6b50be068cc09d8a46b76f8c4b72271d471c6673a5bdb47793622e62224d",
|
|
||||||
"aarch64-apple-darwin-0.6.16": "2b1ea0d5cf27375738f5f0f229587bc3590c0f501cb00bc48133a3d122d28364",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.16": "5abca187b8aecbdffef7547cb39a527168e4cb93d8d2e4ce14271f5831a4d902",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.16": "a82f96ab5f285825f9acee6ac1563683c4940d80df2f08549cad43d37c7ba4a7",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.16": "ae3f793c62fe6ced80483d6c78cb49f06a01088bc5d86f1446a9b5988b2acecc",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.16": "91f7f5a4eb97b7983a8e5421d5bfea8802064422ce2f535055f373726eb0aa9a",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.16": "a4ffe043952bf4e757a5ca0f546bb83b055b6ee0646dd5c4f5e5f13dbc5ee8f8",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.16": "0237c8d9914e0d9fd2f022d6d5f91ce392d13e0ccbb7fa7ebe601296a67c3d6c",
|
|
||||||
"i686-pc-windows-msvc-0.6.16": "f5c6400f07db2014b2b0c66770e1125fa70efe4dd99cc8351838bed0045c34f8",
|
|
||||||
"i686-unknown-linux-gnu-0.6.16": "f46f89efcc599a6695e8378a1201e62cd4afb9a4438d65a89098ab11201f84ab",
|
|
||||||
"i686-unknown-linux-musl-0.6.16": "afe69380a9d3592a87893d6bdc11ff33e4180b98f1e1fd4e626c0307d7598914",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.16": "bf455747580dbbf76cbcf616f67f825c40bd1bdec20c9ff993e03485f9eaad44",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.16": "508ec561b1740a551d2b33e96671e0e8435a1bcc0e97080f3d7ba88a096bd360",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.16": "e25c5527826524f51f114388bff47871bf1ca67badbfd72d45427bdba4b46794",
|
|
||||||
"x86_64-apple-darwin-0.6.16": "ce512b5e40a8ad2916a46df2bdba729d5541e4b3649a09aaddff6e525be012e4",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.16": "f1b4c24ec602b6c0b06b6bc64aa447bbe4cf313e93fbec326741961e80ffa8b7",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.16": "e9ef28b675df68978a60f87192fb8c730b8bfca9bef42b121686b218ea0f6542",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.16": "25024557931d04cc34f80b818c7547c9c62b762ec6df807e30cb52f383fa2615",
|
|
||||||
"aarch64-apple-darwin-0.6.15": "1c5b25f75c6438b6910dbc4c6903debe53f31ee14aee55d02243dfe7bf7c9f72",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.15": "317fe0b29e647aad1e9f02ffe764dcbbc6e2ef189f018c81b673884173ab98ba",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.15": "3bf650aec162157b7e01461f41c2a9797366b6043452c6e7035c6c926d0a585b",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.15": "183cebae8c9d91bbd48219f9006a5c0c41c90a075d6724aec53a7ea0503c665a",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.15": "d83c76e130ffb25fb6a4ba8ea5870207d810190733a14ae87084c63a417912f6",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.15": "d661ec44e5fc7553cd8dd5ad5f48848c5a4d5279ba0df0036c0e2422ec9f312b",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.15": "6fc86a829965362f99602c47627b269c9b676731586a60ca5bb9d6069677938d",
|
|
||||||
"i686-pc-windows-msvc-0.6.15": "7f15e3377e94fac882b33465cb8cbb24705f5c8d63d9d65c6f1b0816c1d30a0b",
|
|
||||||
"i686-unknown-linux-gnu-0.6.15": "bfedd03be9f579a9bc10e6c25176017e514cca0500cfb9bba43794387a577661",
|
|
||||||
"i686-unknown-linux-musl-0.6.15": "82bf8666c0a57514af4e5403f162314b710e1682e1065ab71a845ebb5d8db0b7",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.15": "6e9795344d61ee9ac497d6e03a447d808f2aab13925f30e44c00638abec57deb",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.15": "e38f13284ed8b645b87ef07c8b549d1f1a5b746aa0411c2115dcd5cda0da13fc",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.15": "416f61249b330ea9735cda0c866c9460f87111bc9d4e040c98916fda6a45be09",
|
|
||||||
"x86_64-apple-darwin-0.6.15": "97adf61511c0f6ea42c090443c38d8d71116b78ae626363f9f149924c91ae886",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.15": "10c75d566db1447f3bdcbcb31d6598e4b5f4ea638be5d8b73a7350929389512b",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.15": "85d98ef282cdbfcb4020922f0c12421ecca4130f0a4570d3b827a15ffd544acc",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.15": "78289c93836cb32b8b24e3216b5b316e7fdf483365de2fc571844d308387e8a4",
|
|
||||||
"aarch64-apple-darwin-0.6.14": "4ea4731010fbd1bc8e790e07f199f55a5c7c2c732e9b77f85e302b0bee61b756",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.14": "7b0b3367c4060c9b47b961201ceb4252e97496c890ad1bd13c664bf5b0744d57",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.14": "ea25597354af186bdd55aee0de431e16d45d82951a4f41f065a8e4dc27885265",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.14": "94e22c4be44d205def456427639ca5ca1c1a9e29acc31808a7b28fdd5dcf7f17",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.14": "de00f51ff804c145f9a0a13ead54e1ed08d317fac690477312cf9430ed43e62e",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.14": "d73b09f23c7056b3b5318edf670ebc8d2eac5adfdd4f4ee46796723298f21e18",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.14": "f7844b89c77d1d57ca28a25b6b2e16a5bb3605ccf1dd9dc17ce641a2fa2d8b29",
|
|
||||||
"i686-pc-windows-msvc-0.6.14": "4e9f9ccc229a03d923213b8b4c7b373cd8bb941984f421de17fe9dac3d5491e9",
|
|
||||||
"i686-unknown-linux-gnu-0.6.14": "32c967c3dd80ecc9006a30be1a9c8ec77d63aa8080b78787d4ec0f79db12dbe4",
|
|
||||||
"i686-unknown-linux-musl-0.6.14": "c5a484d15049fd2b8ea9a7bbf0f968614819a7eda769f35c202e01e1904f6458",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.14": "79abdc4c6e566e98067dc4b612f1fca5cb384b964553a0b8e0f5c40885ff3db8",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.14": "2eae20cf66ba5de1b7ac180458e4f2a889cd705637626e01c400f73f07dd0491",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.14": "a51f8319b2b334c1392d3927e925b46c62ac584eb35b944d384f0af227cf0f36",
|
|
||||||
"x86_64-apple-darwin-0.6.14": "1d8ecb2eb3b68fb50e4249dc96ac9d2458dc24068848f04f4c5b42af2fd26552",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.14": "93b29fc234758e381df461d7638ff73d0f08bdf3a0dc37923b1ee0b9e442ca3f",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.14": "0aaf451c391d3913823bfb8ed354b446dcfd0553a32ed8266611e4181c61fd51",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.14": "0cac4df0cb3457b154f2039ae471e89cd4e15f3bd790bbb3cb0b8b40d940b93e",
|
|
||||||
"aarch64-apple-darwin-0.6.13": "0ddb8458634cc3a02799b6da839cb546dff9dabc6f3394912c48dd479016683b",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.13": "3f3d6aa73b4859469fa3ad7efca3e5d0dba1112292c91d5c5f740983f16a8d8a",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.13": "ac0c723663ff76183077cc9aa91dcd0b5100081d87f93e1ba482930e0a584e90",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.13": "379a5c48f6e3eb32c2d16022c0a4fc10cdfcca3543b75e2e9d819d62fead6a75",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.13": "ba1f630a299cfdd456b93a8b41e20bd2ad37a86aac884aca4efd722a62a26bb8",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.13": "1d55eb46510db8f169bb9be6fbd3a6ff34aa52340dff5eda0acdcb1b834e8bee",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.13": "dc86e9d807ac324eed2e4a73fec341618ea288826a27143b8b695565a35f1b70",
|
|
||||||
"i686-pc-windows-msvc-0.6.13": "08367c3a04cf4da1c3ac6784431421de1efb8584ba68b8017efcd5e889d4a2a2",
|
|
||||||
"i686-unknown-linux-gnu-0.6.13": "2896a75940761a2ce90a8a650da02d6766de0b9990dfa6a99cd94fd3d1e6c530",
|
|
||||||
"i686-unknown-linux-musl-0.6.13": "29e64ef33ff2d7dcbbb3167bc7241de3b9d258fb39a6a992dfc847f1b968d32d",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.13": "cdd2ba090ce9e3ed66a94bfe95b45a584bd5b9e45626836993f1279290b1a95e",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.13": "88830c596ef2a875a0c73aefda48e8398fdafe4eb4acecbee0b44a7995e9dc13",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.13": "49e494038871006e36b404f0559f1c831b3e68692986b3c67510a675028c9696",
|
|
||||||
"x86_64-apple-darwin-0.6.13": "ed240854d97f7b234082f5a0ce734869a4310d86d46a819860bbce6d7df8b2eb",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.13": "19bb08768fd3b8664068cc45faa633ee110bfef4215e560bc1e5833b1bc6c30e",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.13": "f6788fd45a25ea1033a671eaa9ece6c9b004ce5c9cf09552effadde567a7d7a5",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.13": "779560faf6a21b5a6dbc2664c2dfbde2b9387b1f486c9197a9f4d143a3b66875",
|
|
||||||
"aarch64-apple-darwin-0.6.12": "fab8db5b62da1e945524b8d1a9d4946fcc6d9b77ec0cab423d953e82159967ac",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.12": "d72d8cf0633dc40198a868e906442bc6bacfa38c3b807c26bcbf3fc364af5d96",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.12": "d867553e5ea19f9cea08e564179d909c69ecfce5e7e382099d1844dbf1c9878c",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.12": "e999ae0679bfabe8a1e6343b8b204a531a6c851e315caff9b326f34182884af6",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.12": "da8d0700ec5e0cb0b2f20cc20834b48d5927197042e49bea5eef7fd139d72fe9",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.12": "b5dedaca5fbb46f412c5426102eec7c9f10003a67dd41b943232e4a2b6a5cc16",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.12": "8fb6c1b16f8b3c2aa4073cd02729432f9afd9389f110850aed8228464fa37398",
|
|
||||||
"i686-pc-windows-msvc-0.6.12": "23431d1a798aee234bd7b271bce306fbd760c91d98e19a314ddd890a065aff83",
|
|
||||||
"i686-unknown-linux-gnu-0.6.12": "d0774e847de6c0fe6a9c3aba44b7d400261d01171ae32da60c472eb410691785",
|
|
||||||
"i686-unknown-linux-musl-0.6.12": "02e4503b244cbb18d2fa14b3a7e9433fe437e767ffcbfc39c5f0fdff9b8dd65e",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.12": "046b43cf8af74d8892e9559e8b3181ec1e4045a4910a4dfdd00b110694c93188",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.12": "e61ba76fa6dfd6041c985881c024385c31d544d6a182d1a050da7594438f073f",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.12": "6eae67730009eb4f8ad7a4e5733ab69b6c4dcb21b482f4567015e3e6d0729357",
|
|
||||||
"x86_64-apple-darwin-0.6.12": "5b6ee08766de11dc49ee9e292333e8b46ef2ceaaa3ebb0388467e114fca2ed8c",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.12": "30fdf26c209f0cb7c97d3b08a26ab4e78ce5ae0e031b88798cbaccc0f24f452b",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.12": "eec3ccf53616e00905279a302bc043451bd96ca71a159a2ac3199452ac914c26",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.12": "25f055a556576003fefc0f5fd213bf3c6df1824d4c7fc35e6361fbecc420139f",
|
|
||||||
"aarch64-apple-darwin-0.6.11": "a5b14a92448b908d1a5415f2a49522010fef8972695e2f7bbb4e5c5f88024573",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.11": "858e523d9498a332aab093852c30c524bbd94622137dd6f773d19da14ac920b4",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.11": "5384098938893f060b8b47e606918c271a419b52eedda1546a4d6febae4b0c06",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.11": "de20c247ef6a6bc0948e611ace3f3f321c098d7bf75b737f169c1db06b4f4d69",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.11": "76a1558e2cb8d0e5e646a0cf8a204b53d3779221bea3af50b204c8d28532daa7",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.11": "5abacc141dabb6071fcc3a19a301874083c6cc4a36d6eb6b0654a276efbfd33b",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.11": "cf05ab1fe44494cc490ec5c29578e200a3c195b395e67fe62d45be9a4c897d06",
|
|
||||||
"i686-pc-windows-msvc-0.6.11": "331e94f1db12fa92266f764f63586d8c18e6cea5d37d430af2eb7673f108e874",
|
|
||||||
"i686-unknown-linux-gnu-0.6.11": "b9d193f28736c3166f533c61fc4a2e8e8a4c7961c6bd46e17c3db66f750ef4b6",
|
|
||||||
"i686-unknown-linux-musl-0.6.11": "dfa735baacc13ba9962fb9b7167599407aa733bfc7853824a785773769c58ed5",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.11": "b79060dc0726a1fc8a4458a80fb1ce0489198dd3ad334fe54bb7926e473750ed",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.11": "ebd219d0b5f0a60a584ebb88e1379c616e746cabaaf79608d54be5919d742ee3",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.11": "3b5563127303c16e0531c1fd13356763decc0ea91b860eb5f63c3108a275aa2c",
|
|
||||||
"x86_64-apple-darwin-0.6.11": "099b163ce5098558ccdc1df54bdcf8b02eb11364458095e95f8dd54ff8984d96",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.11": "292ade13fc2e1530d0021ec7fd42526df58a8436974b8a5b829685db856e667e",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.11": "c19b3be7ac26f8b211f7a5f07f01a77fd4d2b6205ff257790770a585f7f5bda4",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.11": "23aabfa5d0bde26d151eaf31a392595a5c88e74e0bc804351b02fbb0328f8aaa",
|
|
||||||
"aarch64-apple-darwin-0.6.10": "82bf2cb3b34ab504eb08486093c9e97cfaf5299da4d4a60e14b6642a2a2e9b8e",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.10": "afc3c1ed78273843417b781fd30b263ba417dcfd05ef9a65be50eec7aa500f20",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.10": "527f0adc3bcf841a3a0df0d3fef8db277b8afffac588d80948638719b611a8c2",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.10": "36c36aafdf4b2fb8040d0b8db2eaa4b3f44260a689a6e789bc1cd95689e890bc",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.10": "abef3136f0da26055368df298f3379bbd0d6776ba7e7a0c12275e403136408d8",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.10": "8b776d606b3b9566ae659ab8b2c767e771f1f3e2e632b4c634ff80b26796795f",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.10": "d5af6869e1f69753e9ac2b8bacadd6356f84f373b0f6edfda60dc85c194d3a6b",
|
|
||||||
"i686-pc-windows-msvc-0.6.10": "ff6c580750d6bdbca1cb7c64601ebf0f079cc6d8ab79df6472e5fd61e4f89cf9",
|
|
||||||
"i686-unknown-linux-gnu-0.6.10": "978e8d7b495251d842250045a3f15c59e9fe148d09538aa322d4c045db632cc3",
|
|
||||||
"i686-unknown-linux-musl-0.6.10": "432c0609dec5d196f516639de8845fdf9393b4591978a927f6b2bfa92edd0220",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.10": "ec4285062cc4bec8aa7f95efba227c4ee3301503938735902fdd896c3ef8ec7f",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.10": "d1dcbdd11b133bcce003aa48be6710a56f1c938eff496eb021dbeac8c09b5c2d",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.10": "4a68f92213c567a8d2bc22ccc10a328f3dd851967f315c517fc1eb52c8f58ed5",
|
|
||||||
"x86_64-apple-darwin-0.6.10": "ddd27652b1a4053b848e35c348500841a8fde38e8ac2b37233464ab91e8f7788",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.10": "c41c4f34782558d3263f7a51e4efd053bc4d074dc46fefa574c4fdb2ed0a00e1",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.10": "d58885f055fdb726d12cdd1cc54119432a0e4557c8e8ba04ca1d625058b98832",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.10": "1bdeaa0396405a30c4bff35b2d7c9df832836da50eec132ccc0d92657a336c4c",
|
|
||||||
"aarch64-apple-darwin-0.6.9": "a6841484affb3c123313df98bcd8932208bdfb3d9d90a72aec274e8a696caa88",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.9": "bdb7e5eebaa5bb807f2c665b909dbba4bce6f23adf774134924a4a3c6acd4e72",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.9": "f5032ad47151c7906c0fb25f7c3b00a85ab0bfed2170cbc444e79c438799095b",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.9": "4de15999c38a0e57a3708eccb1fe3295b3d1c0c69410029b16e5e42452d232a9",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.9": "1a228a1cc86689894c771d0b4635b74708db416c240cfbdc36ddd87c90ae0eb0",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.9": "a9a307d6b3e6a3500aa0102ff7b03cccebe2a9af40130df97382688574afc637",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.9": "2cf77dcd0e73b323c5f10120452f6ef34191cab3bb8061ee01d5e62706af7493",
|
|
||||||
"i686-pc-windows-msvc-0.6.9": "709d6d7e6d0e8244b4d51ac9ef0f373d2ac2cb20570e8bdf71c84ccab8c8cba0",
|
|
||||||
"i686-unknown-linux-gnu-0.6.9": "4000a6fd98af6ed84c9a7c2f06019cab5f4a8cfa4e5a9c37b6984e4c7cae1df2",
|
|
||||||
"i686-unknown-linux-musl-0.6.9": "d227586d574264922f344cf98b0f469335ce52d3443619d15448140b44ff8204",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.9": "f12b8dbc8ed1ca24dfadbd3969730ab9c2cf797e117cdb508732f49b9fa4b620",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.9": "451cd936bd35405c1cf2d0b63c975d5490e2646f1516b9bcb27af66688946903",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.9": "e25ec6762b68383abfbecb1ec24c1eda52a64dc67866021280c649ef3813726f",
|
|
||||||
"x86_64-apple-darwin-0.6.9": "96eb2bfbe2bb3b74836aa5d6f563ae21bbb9e071148adfda1e67000735a020a3",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.9": "4d959abc2517c38b5527e3368b6755d66ecbb85679a9b2b34b7a78796c6cf7f8",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.9": "001b87a0c2ea642a3c75a98c6af3e8528aa473d560e653cf213efcc9aaa4a028",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.9": "2b2914da53f9412a1aad7457cee424680da037e6a49c378365c3b5ff5ef0b926",
|
|
||||||
"aarch64-apple-darwin-0.6.8": "e4f83fc42d9735512198c2d86a6fc136e2f5a2b59b3ccc4f104018ed07465499",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.8": "5619c7fbc026544c8cc77ade994ef79e799fc521a050268172aa47826f364834",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.8": "3ffcaa4f4dba917fa58484a1c3dcb96a958a4baca0204e9c10a4799f81b9ee2f",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.8": "c1d4504ee47d8577761989c9daa4bbd1b93e5d04056215584a0415ad8738b0f9",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.8": "7280cb1425787faf335bed8e9f2d575bcb179e1b19489ee7984c546d6ef07fff",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.8": "6753d79f3f8e1556a855912f0f859b039b67e591332f6ee794e2c51f2eda1658",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.8": "ba73e8503d3ded103cc1fd946bd307f5b986e096d673296eb616f2edb6cf23aa",
|
|
||||||
"i686-pc-windows-msvc-0.6.8": "c28ab471753368b79887fd5cbd12b002704fa7fb2e96b0f5a98277e4f1d8572a",
|
|
||||||
"i686-unknown-linux-gnu-0.6.8": "df60b14b5b6bf29c75c06d8d04b0dd358070bf91f19c6f23afaf738fd05fa271",
|
|
||||||
"i686-unknown-linux-musl-0.6.8": "b1e92aabb97fa356e8f0d4b61f698e0f372b6a5582df949ffbcc60565e7a9c7a",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.8": "a18998d2f8f426b1ccf1f6c7ec279dd35ccc1cbe76d90b185e453e6b199df245",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.8": "0d7460fe945a7ed48a9236d50f683a5eb937f22eaa605f4e6eb6a5f9cdf3676e",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.8": "127a7d547be5029b29532f937822332fed690e135d0a97ec9574d43904a4622a",
|
|
||||||
"x86_64-apple-darwin-0.6.8": "e069e79f6e0c430d7beaca3025b398980357b8b5c6faa7191032e20d5ee75970",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.8": "d31c3d01ca3e1a75e15ed9514c135239770b6b40a99cae716661e28e433aa495",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.8": "2378ea0122bd56a11ee7ae2ad6116c1f22f4657c03b9efb78ac150236bf7974c",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.8": "58902317e1872994b5e707c3c77f4cbf3010104d4b07990a5110bbc09f3e9b8a",
|
|
||||||
"aarch64-apple-darwin-0.6.7": "1a4d04477893c215e3def30149208fabe58a70d031388684d0125f553e3cd74f",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.7": "1c6de0c79ad35baadb61f6be7a014f3114a320809868b4ccb09c4d16b7118b48",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.7": "b64c4ec32d55bd8e8b726b3162be0dfb3c117c3ca4cd798862497d33fe68e7b9",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.7": "df9e1b9530ad63085b66936e65cca107acc98197856e2ac22b896b1ab3936ac4",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.7": "03a4b36d50fe4f0e50845559a524ed75610762072075c411f7ed84479e6c736d",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.7": "a877f7697375f6b19d3b537c5152cbb3d86430120b20d957cfa7c084e6b79d6c",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.7": "e337a7dd6b86c842dac78041acfa9d9402662d5a8cede1d0ae694c9c17057162",
|
|
||||||
"i686-pc-windows-msvc-0.6.7": "33002d9f1dab894f48254f43b4b882f6c88078d70ace883ed29fcde82616bbb0",
|
|
||||||
"i686-unknown-linux-gnu-0.6.7": "b5f04a274f96aa41e8094b1c4355632f6caa9dfb7e62a45908950ca1c5d3fb38",
|
|
||||||
"i686-unknown-linux-musl-0.6.7": "bd56de94a3ffac99a06fc0d37e7cb45e1c35ba275924b5ed502da833dc712d12",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.7": "57c668908878e1b12c726efc0439cd609697892a22e1e43c0ebb520ef2995a27",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.7": "abe3004c0fc468e89ddcf8490991c7fc83abc9d9f6e6a29c59473541265e8bd5",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.7": "b6c60b7b907f871880a9be43294b02f84be5ec3187b1a16d7705f5beb622e01a",
|
|
||||||
"x86_64-apple-darwin-0.6.7": "680be39f40bf00a8c3a6776e9ddaa9c3c18ef2efbb0c1a9a854b333660ca8678",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.7": "11b902b07e98331cef0d648c182c6aa1f279cde688c4411eb9153dc957d48f90",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.7": "601c2b1147117c4471a154b4cebbdb31c818105f796d5f8115fe42d2526689c8",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.7": "a31bd6916eff780a7a44c84c194f4f8b70a8250b9175b3839ce2d4403fd735de",
|
|
||||||
"aarch64-apple-darwin-0.6.6": "d0fb047593122746c7529960f8efd5d7d10d2cb230302f71158e9765ad37727b",
|
"aarch64-apple-darwin-0.6.6": "d0fb047593122746c7529960f8efd5d7d10d2cb230302f71158e9765ad37727b",
|
||||||
"aarch64-pc-windows-msvc-0.6.6": "6bb6d5a28e8a181fd5b0046778b97a75c3ec1c5117a058e1961e0f6df9ee2925",
|
"aarch64-pc-windows-msvc-0.6.6": "6bb6d5a28e8a181fd5b0046778b97a75c3ec1c5117a058e1961e0f6df9ee2925",
|
||||||
"aarch64-unknown-linux-gnu-0.6.6": "37a543598cdb7d8fc9b74e6b1fe1fdf8b9a279c6137c7ff8396a88f69ec7a43c",
|
"aarch64-unknown-linux-gnu-0.6.6": "37a543598cdb7d8fc9b74e6b1fe1fdf8b9a279c6137c7ff8396a88f69ec7a43c",
|
||||||
@@ -65319,10 +65132,8 @@ var paginatingEndpoints = [
|
|||||||
"GET /notifications",
|
"GET /notifications",
|
||||||
"GET /organizations",
|
"GET /organizations",
|
||||||
"GET /orgs/{org}/actions/cache/usage-by-repository",
|
"GET /orgs/{org}/actions/cache/usage-by-repository",
|
||||||
"GET /orgs/{org}/actions/hosted-runners",
|
|
||||||
"GET /orgs/{org}/actions/permissions/repositories",
|
"GET /orgs/{org}/actions/permissions/repositories",
|
||||||
"GET /orgs/{org}/actions/runner-groups",
|
"GET /orgs/{org}/actions/runner-groups",
|
||||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners",
|
|
||||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories",
|
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories",
|
||||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners",
|
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners",
|
||||||
"GET /orgs/{org}/actions/runners",
|
"GET /orgs/{org}/actions/runners",
|
||||||
@@ -65332,7 +65143,6 @@ var paginatingEndpoints = [
|
|||||||
"GET /orgs/{org}/actions/variables/{name}/repositories",
|
"GET /orgs/{org}/actions/variables/{name}/repositories",
|
||||||
"GET /orgs/{org}/attestations/{subject_digest}",
|
"GET /orgs/{org}/attestations/{subject_digest}",
|
||||||
"GET /orgs/{org}/blocks",
|
"GET /orgs/{org}/blocks",
|
||||||
"GET /orgs/{org}/campaigns",
|
|
||||||
"GET /orgs/{org}/code-scanning/alerts",
|
"GET /orgs/{org}/code-scanning/alerts",
|
||||||
"GET /orgs/{org}/code-security/configurations",
|
"GET /orgs/{org}/code-security/configurations",
|
||||||
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories",
|
"GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories",
|
||||||
@@ -65341,6 +65151,7 @@ var paginatingEndpoints = [
|
|||||||
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories",
|
"GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories",
|
||||||
"GET /orgs/{org}/copilot/billing/seats",
|
"GET /orgs/{org}/copilot/billing/seats",
|
||||||
"GET /orgs/{org}/copilot/metrics",
|
"GET /orgs/{org}/copilot/metrics",
|
||||||
|
"GET /orgs/{org}/copilot/usage",
|
||||||
"GET /orgs/{org}/dependabot/alerts",
|
"GET /orgs/{org}/dependabot/alerts",
|
||||||
"GET /orgs/{org}/dependabot/secrets",
|
"GET /orgs/{org}/dependabot/secrets",
|
||||||
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
|
"GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories",
|
||||||
@@ -65375,11 +65186,10 @@ var paginatingEndpoints = [
|
|||||||
"GET /orgs/{org}/repos",
|
"GET /orgs/{org}/repos",
|
||||||
"GET /orgs/{org}/rulesets",
|
"GET /orgs/{org}/rulesets",
|
||||||
"GET /orgs/{org}/rulesets/rule-suites",
|
"GET /orgs/{org}/rulesets/rule-suites",
|
||||||
"GET /orgs/{org}/rulesets/{ruleset_id}/history",
|
|
||||||
"GET /orgs/{org}/secret-scanning/alerts",
|
"GET /orgs/{org}/secret-scanning/alerts",
|
||||||
"GET /orgs/{org}/security-advisories",
|
"GET /orgs/{org}/security-advisories",
|
||||||
"GET /orgs/{org}/settings/network-configurations",
|
|
||||||
"GET /orgs/{org}/team/{team_slug}/copilot/metrics",
|
"GET /orgs/{org}/team/{team_slug}/copilot/metrics",
|
||||||
|
"GET /orgs/{org}/team/{team_slug}/copilot/usage",
|
||||||
"GET /orgs/{org}/teams",
|
"GET /orgs/{org}/teams",
|
||||||
"GET /orgs/{org}/teams/{team_slug}/discussions",
|
"GET /orgs/{org}/teams/{team_slug}/discussions",
|
||||||
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
|
"GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments",
|
||||||
@@ -65474,7 +65284,6 @@ var paginatingEndpoints = [
|
|||||||
"GET /repos/{owner}/{repo}/rules/branches/{branch}",
|
"GET /repos/{owner}/{repo}/rules/branches/{branch}",
|
||||||
"GET /repos/{owner}/{repo}/rulesets",
|
"GET /repos/{owner}/{repo}/rulesets",
|
||||||
"GET /repos/{owner}/{repo}/rulesets/rule-suites",
|
"GET /repos/{owner}/{repo}/rulesets/rule-suites",
|
||||||
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history",
|
|
||||||
"GET /repos/{owner}/{repo}/secret-scanning/alerts",
|
"GET /repos/{owner}/{repo}/secret-scanning/alerts",
|
||||||
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations",
|
"GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations",
|
||||||
"GET /repos/{owner}/{repo}/security-advisories",
|
"GET /repos/{owner}/{repo}/security-advisories",
|
||||||
@@ -65586,7 +65395,7 @@ __nccwpck_require__.d(__webpack_exports__, {
|
|||||||
});
|
});
|
||||||
|
|
||||||
;// CONCATENATED MODULE: ./node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
|
;// CONCATENATED MODULE: ./node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js
|
||||||
const VERSION = "14.0.0";
|
const VERSION = "13.3.1";
|
||||||
|
|
||||||
//# sourceMappingURL=version.js.map
|
//# sourceMappingURL=version.js.map
|
||||||
|
|
||||||
@@ -65617,7 +65426,6 @@ const Endpoints = {
|
|||||||
createEnvironmentVariable: [
|
createEnvironmentVariable: [
|
||||||
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
"POST /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
||||||
],
|
],
|
||||||
createHostedRunnerForOrg: ["POST /orgs/{org}/actions/hosted-runners"],
|
|
||||||
createOrUpdateEnvironmentSecret: [
|
createOrUpdateEnvironmentSecret: [
|
||||||
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
"PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"
|
||||||
],
|
],
|
||||||
@@ -65655,9 +65463,6 @@ const Endpoints = {
|
|||||||
deleteEnvironmentVariable: [
|
deleteEnvironmentVariable: [
|
||||||
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
"DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
||||||
],
|
],
|
||||||
deleteHostedRunnerForOrg: [
|
|
||||||
"DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
||||||
],
|
|
||||||
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
|
deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"],
|
||||||
deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"],
|
deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"],
|
||||||
deleteRepoSecret: [
|
deleteRepoSecret: [
|
||||||
@@ -65746,24 +65551,6 @@ const Endpoints = {
|
|||||||
getGithubActionsPermissionsRepository: [
|
getGithubActionsPermissionsRepository: [
|
||||||
"GET /repos/{owner}/{repo}/actions/permissions"
|
"GET /repos/{owner}/{repo}/actions/permissions"
|
||||||
],
|
],
|
||||||
getHostedRunnerForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
||||||
],
|
|
||||||
getHostedRunnersGithubOwnedImagesForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/images/github-owned"
|
|
||||||
],
|
|
||||||
getHostedRunnersLimitsForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/limits"
|
|
||||||
],
|
|
||||||
getHostedRunnersMachineSpecsForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/machine-sizes"
|
|
||||||
],
|
|
||||||
getHostedRunnersPartnerImagesForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/images/partner"
|
|
||||||
],
|
|
||||||
getHostedRunnersPlatformsForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/hosted-runners/platforms"
|
|
||||||
],
|
|
||||||
getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
|
getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],
|
||||||
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
|
getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"],
|
||||||
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
|
getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"],
|
||||||
@@ -65807,10 +65594,6 @@ const Endpoints = {
|
|||||||
listEnvironmentVariables: [
|
listEnvironmentVariables: [
|
||||||
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
"GET /repos/{owner}/{repo}/environments/{environment_name}/variables"
|
||||||
],
|
],
|
||||||
listGithubHostedRunnersInGroupForOrg: [
|
|
||||||
"GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners"
|
|
||||||
],
|
|
||||||
listHostedRunnersForOrg: ["GET /orgs/{org}/actions/hosted-runners"],
|
|
||||||
listJobsForWorkflowRun: [
|
listJobsForWorkflowRun: [
|
||||||
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
|
"GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"
|
||||||
],
|
],
|
||||||
@@ -65929,9 +65712,6 @@ const Endpoints = {
|
|||||||
updateEnvironmentVariable: [
|
updateEnvironmentVariable: [
|
||||||
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
"PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"
|
||||||
],
|
],
|
||||||
updateHostedRunnerForOrg: [
|
|
||||||
"PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}"
|
|
||||||
],
|
|
||||||
updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"],
|
updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"],
|
||||||
updateRepoVariable: [
|
updateRepoVariable: [
|
||||||
"PATCH /repos/{owner}/{repo}/actions/variables/{name}"
|
"PATCH /repos/{owner}/{repo}/actions/variables/{name}"
|
||||||
@@ -66073,13 +65853,6 @@ const Endpoints = {
|
|||||||
"GET /users/{username}/settings/billing/shared-storage"
|
"GET /users/{username}/settings/billing/shared-storage"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
campaigns: {
|
|
||||||
createCampaign: ["POST /orgs/{org}/campaigns"],
|
|
||||||
deleteCampaign: ["DELETE /orgs/{org}/campaigns/{campaign_number}"],
|
|
||||||
getCampaignSummary: ["GET /orgs/{org}/campaigns/{campaign_number}"],
|
|
||||||
listOrgCampaigns: ["GET /orgs/{org}/campaigns"],
|
|
||||||
updateCampaign: ["PATCH /orgs/{org}/campaigns/{campaign_number}"]
|
|
||||||
},
|
|
||||||
checks: {
|
checks: {
|
||||||
create: ["POST /repos/{owner}/{repo}/check-runs"],
|
create: ["POST /repos/{owner}/{repo}/check-runs"],
|
||||||
createSuite: ["POST /repos/{owner}/{repo}/check-suites"],
|
createSuite: ["POST /repos/{owner}/{repo}/check-suites"],
|
||||||
@@ -66358,7 +66131,9 @@ const Endpoints = {
|
|||||||
getCopilotSeatDetailsForUser: [
|
getCopilotSeatDetailsForUser: [
|
||||||
"GET /orgs/{org}/members/{username}/copilot"
|
"GET /orgs/{org}/members/{username}/copilot"
|
||||||
],
|
],
|
||||||
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"]
|
listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"],
|
||||||
|
usageMetricsForOrg: ["GET /orgs/{org}/copilot/usage"],
|
||||||
|
usageMetricsForTeam: ["GET /orgs/{org}/team/{team_slug}/copilot/usage"]
|
||||||
},
|
},
|
||||||
dependabot: {
|
dependabot: {
|
||||||
addSelectedRepoToOrgSecret: [
|
addSelectedRepoToOrgSecret: [
|
||||||
@@ -66454,26 +66229,6 @@ const Endpoints = {
|
|||||||
getAllTemplates: ["GET /gitignore/templates"],
|
getAllTemplates: ["GET /gitignore/templates"],
|
||||||
getTemplate: ["GET /gitignore/templates/{name}"]
|
getTemplate: ["GET /gitignore/templates/{name}"]
|
||||||
},
|
},
|
||||||
hostedCompute: {
|
|
||||||
createNetworkConfigurationForOrg: [
|
|
||||||
"POST /orgs/{org}/settings/network-configurations"
|
|
||||||
],
|
|
||||||
deleteNetworkConfigurationFromOrg: [
|
|
||||||
"DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
||||||
],
|
|
||||||
getNetworkConfigurationForOrg: [
|
|
||||||
"GET /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
||||||
],
|
|
||||||
getNetworkSettingsForOrg: [
|
|
||||||
"GET /orgs/{org}/settings/network-settings/{network_settings_id}"
|
|
||||||
],
|
|
||||||
listNetworkConfigurationsForOrg: [
|
|
||||||
"GET /orgs/{org}/settings/network-configurations"
|
|
||||||
],
|
|
||||||
updateNetworkConfigurationForOrg: [
|
|
||||||
"PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
interactions: {
|
interactions: {
|
||||||
getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"],
|
getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"],
|
||||||
getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"],
|
getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"],
|
||||||
@@ -66665,7 +66420,6 @@ const Endpoints = {
|
|||||||
"PUT /orgs/{org}/outside_collaborators/{username}"
|
"PUT /orgs/{org}/outside_collaborators/{username}"
|
||||||
],
|
],
|
||||||
createInvitation: ["POST /orgs/{org}/invitations"],
|
createInvitation: ["POST /orgs/{org}/invitations"],
|
||||||
createIssueType: ["POST /orgs/{org}/issue-types"],
|
|
||||||
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
|
createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"],
|
||||||
createOrUpdateCustomPropertiesValuesForRepos: [
|
createOrUpdateCustomPropertiesValuesForRepos: [
|
||||||
"PATCH /orgs/{org}/properties/values"
|
"PATCH /orgs/{org}/properties/values"
|
||||||
@@ -66675,7 +66429,6 @@ const Endpoints = {
|
|||||||
],
|
],
|
||||||
createWebhook: ["POST /orgs/{org}/hooks"],
|
createWebhook: ["POST /orgs/{org}/hooks"],
|
||||||
delete: ["DELETE /orgs/{org}"],
|
delete: ["DELETE /orgs/{org}"],
|
||||||
deleteIssueType: ["DELETE /orgs/{org}/issue-types/{issue_type_id}"],
|
|
||||||
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"],
|
||||||
enableOrDisableSecurityProductOnAllOrgRepos: [
|
enableOrDisableSecurityProductOnAllOrgRepos: [
|
||||||
"POST /orgs/{org}/{security_product}/{enablement}",
|
"POST /orgs/{org}/{security_product}/{enablement}",
|
||||||
@@ -66692,10 +66445,6 @@ const Endpoints = {
|
|||||||
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"],
|
||||||
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"],
|
||||||
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"],
|
getOrgRole: ["GET /orgs/{org}/organization-roles/{role_id}"],
|
||||||
getOrgRulesetHistory: ["GET /orgs/{org}/rulesets/{ruleset_id}/history"],
|
|
||||||
getOrgRulesetVersion: [
|
|
||||||
"GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}"
|
|
||||||
],
|
|
||||||
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"],
|
||||||
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"],
|
||||||
getWebhookDelivery: [
|
getWebhookDelivery: [
|
||||||
@@ -66710,7 +66459,6 @@ const Endpoints = {
|
|||||||
listForAuthenticatedUser: ["GET /user/orgs"],
|
listForAuthenticatedUser: ["GET /user/orgs"],
|
||||||
listForUser: ["GET /users/{username}/orgs"],
|
listForUser: ["GET /users/{username}/orgs"],
|
||||||
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"],
|
||||||
listIssueTypes: ["GET /orgs/{org}/issue-types"],
|
|
||||||
listMembers: ["GET /orgs/{org}/members"],
|
listMembers: ["GET /orgs/{org}/members"],
|
||||||
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"],
|
||||||
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
|
listOrgRoleTeams: ["GET /orgs/{org}/organization-roles/{role_id}/teams"],
|
||||||
@@ -66785,7 +66533,6 @@ const Endpoints = {
|
|||||||
],
|
],
|
||||||
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
|
unblockUser: ["DELETE /orgs/{org}/blocks/{username}"],
|
||||||
update: ["PATCH /orgs/{org}"],
|
update: ["PATCH /orgs/{org}"],
|
||||||
updateIssueType: ["PUT /orgs/{org}/issue-types/{issue_type_id}"],
|
|
||||||
updateMembershipForAuthenticatedUser: [
|
updateMembershipForAuthenticatedUser: [
|
||||||
"PATCH /user/memberships/orgs/{org}"
|
"PATCH /user/memberships/orgs/{org}"
|
||||||
],
|
],
|
||||||
@@ -66898,6 +66645,37 @@ const Endpoints = {
|
|||||||
"PATCH /orgs/{org}/private-registries/{secret_name}"
|
"PATCH /orgs/{org}/private-registries/{secret_name}"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
projects: {
|
||||||
|
addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"],
|
||||||
|
createCard: ["POST /projects/columns/{column_id}/cards"],
|
||||||
|
createColumn: ["POST /projects/{project_id}/columns"],
|
||||||
|
createForAuthenticatedUser: ["POST /user/projects"],
|
||||||
|
createForOrg: ["POST /orgs/{org}/projects"],
|
||||||
|
createForRepo: ["POST /repos/{owner}/{repo}/projects"],
|
||||||
|
delete: ["DELETE /projects/{project_id}"],
|
||||||
|
deleteCard: ["DELETE /projects/columns/cards/{card_id}"],
|
||||||
|
deleteColumn: ["DELETE /projects/columns/{column_id}"],
|
||||||
|
get: ["GET /projects/{project_id}"],
|
||||||
|
getCard: ["GET /projects/columns/cards/{card_id}"],
|
||||||
|
getColumn: ["GET /projects/columns/{column_id}"],
|
||||||
|
getPermissionForUser: [
|
||||||
|
"GET /projects/{project_id}/collaborators/{username}/permission"
|
||||||
|
],
|
||||||
|
listCards: ["GET /projects/columns/{column_id}/cards"],
|
||||||
|
listCollaborators: ["GET /projects/{project_id}/collaborators"],
|
||||||
|
listColumns: ["GET /projects/{project_id}/columns"],
|
||||||
|
listForOrg: ["GET /orgs/{org}/projects"],
|
||||||
|
listForRepo: ["GET /repos/{owner}/{repo}/projects"],
|
||||||
|
listForUser: ["GET /users/{username}/projects"],
|
||||||
|
moveCard: ["POST /projects/columns/cards/{card_id}/moves"],
|
||||||
|
moveColumn: ["POST /projects/columns/{column_id}/moves"],
|
||||||
|
removeCollaborator: [
|
||||||
|
"DELETE /projects/{project_id}/collaborators/{username}"
|
||||||
|
],
|
||||||
|
update: ["PATCH /projects/{project_id}"],
|
||||||
|
updateCard: ["PATCH /projects/columns/cards/{card_id}"],
|
||||||
|
updateColumn: ["PATCH /projects/columns/{column_id}"]
|
||||||
|
},
|
||||||
pulls: {
|
pulls: {
|
||||||
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],
|
||||||
create: ["POST /repos/{owner}/{repo}/pulls"],
|
create: ["POST /repos/{owner}/{repo}/pulls"],
|
||||||
@@ -67269,12 +67047,6 @@ const Endpoints = {
|
|||||||
],
|
],
|
||||||
getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"],
|
getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"],
|
||||||
getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],
|
||||||
getRepoRulesetHistory: [
|
|
||||||
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history"
|
|
||||||
],
|
|
||||||
getRepoRulesetVersion: [
|
|
||||||
"GET /repos/{owner}/{repo}/rulesets/{ruleset_id}/history/{version_id}"
|
|
||||||
],
|
|
||||||
getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"],
|
getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"],
|
||||||
getStatusChecksProtection: [
|
getStatusChecksProtection: [
|
||||||
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
"GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"
|
||||||
@@ -67448,13 +67220,7 @@ const Endpoints = {
|
|||||||
search: {
|
search: {
|
||||||
code: ["GET /search/code"],
|
code: ["GET /search/code"],
|
||||||
commits: ["GET /search/commits"],
|
commits: ["GET /search/commits"],
|
||||||
issuesAndPullRequests: [
|
issuesAndPullRequests: ["GET /search/issues"],
|
||||||
"GET /search/issues",
|
|
||||||
{},
|
|
||||||
{
|
|
||||||
deprecated: "octokit.rest.search.issuesAndPullRequests() is deprecated, see https://docs.github.com/rest/search/search#search-issues-and-pull-requests"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
labels: ["GET /search/labels"],
|
labels: ["GET /search/labels"],
|
||||||
repos: ["GET /search/repositories"],
|
repos: ["GET /search/repositories"],
|
||||||
topics: ["GET /search/topics"],
|
topics: ["GET /search/topics"],
|
||||||
@@ -67508,9 +67274,15 @@ const Endpoints = {
|
|||||||
addOrUpdateMembershipForUserInOrg: [
|
addOrUpdateMembershipForUserInOrg: [
|
||||||
"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
"PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
||||||
],
|
],
|
||||||
|
addOrUpdateProjectPermissionsInOrg: [
|
||||||
|
"PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"
|
||||||
|
],
|
||||||
addOrUpdateRepoPermissionsInOrg: [
|
addOrUpdateRepoPermissionsInOrg: [
|
||||||
"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
"PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
||||||
],
|
],
|
||||||
|
checkPermissionsForProjectInOrg: [
|
||||||
|
"GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"
|
||||||
|
],
|
||||||
checkPermissionsForRepoInOrg: [
|
checkPermissionsForRepoInOrg: [
|
||||||
"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
"GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
||||||
],
|
],
|
||||||
@@ -67547,10 +67319,14 @@ const Endpoints = {
|
|||||||
listPendingInvitationsInOrg: [
|
listPendingInvitationsInOrg: [
|
||||||
"GET /orgs/{org}/teams/{team_slug}/invitations"
|
"GET /orgs/{org}/teams/{team_slug}/invitations"
|
||||||
],
|
],
|
||||||
|
listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"],
|
||||||
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"],
|
||||||
removeMembershipForUserInOrg: [
|
removeMembershipForUserInOrg: [
|
||||||
"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
"DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"
|
||||||
],
|
],
|
||||||
|
removeProjectInOrg: [
|
||||||
|
"DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"
|
||||||
|
],
|
||||||
removeRepoInOrg: [
|
removeRepoInOrg: [
|
||||||
"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
"DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"
|
||||||
],
|
],
|
||||||
|
|||||||
214
package-lock.json
generated
214
package-lock.json
generated
@@ -9,35 +9,33 @@
|
|||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^4.0.3",
|
"@actions/cache": "^4.0.2",
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"@actions/glob": "^0.5.0",
|
"@actions/glob": "^0.5.0",
|
||||||
"@actions/io": "^1.1.3",
|
"@actions/io": "^1.1.3",
|
||||||
"@actions/tool-cache": "^2.0.2",
|
"@actions/tool-cache": "^2.0.2",
|
||||||
"@octokit/core": "^6.1.4",
|
"@octokit/core": "^6.1.4",
|
||||||
"@octokit/plugin-paginate-rest": "^12.0.0",
|
"@octokit/plugin-paginate-rest": "^11.4.3",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^14.0.0",
|
"@octokit/plugin-rest-endpoint-methods": "^13.3.1",
|
||||||
"@renovatebot/pep440": "^4.1.0",
|
|
||||||
"smol-toml": "^1.3.1",
|
"smol-toml": "^1.3.1",
|
||||||
"undici": "^7.5.0"
|
"undici": "^7.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "1.9.4",
|
"@biomejs/biome": "1.9.4",
|
||||||
"@types/node": "^22.15.3",
|
"@types/node": "^22.13.10",
|
||||||
"@types/semver": "^7.7.0",
|
"@types/semver": "^7.5.8",
|
||||||
"@vercel/ncc": "^0.38.3",
|
"@vercel/ncc": "^0.38.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"ts-jest": "^29.3.2",
|
"ts-jest": "^29.2.6",
|
||||||
"typescript": "^5.8.2"
|
"typescript": "^5.8.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@actions/cache": {
|
"node_modules/@actions/cache": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.2.tgz",
|
||||||
"integrity": "sha512-SvrqFtYJ7I48A/uXNkoJrnukx5weQv1fGquhs3+4nkByZThBH109KTIqj5x/cGV7JGNvb8dLPVywUOqX1fjiXg==",
|
"integrity": "sha512-cBr7JL1q+JKjbBd3w3SZN5OQ1Xg+/D8QLMcE7MpgpghZlL4biBO0ZEeraoTxCZyfN0YY0dxXlLgsgGv/sT5BTg==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.0.1",
|
"@actions/exec": "^1.0.1",
|
||||||
@@ -1567,12 +1565,11 @@
|
|||||||
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g=="
|
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g=="
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-paginate-rest": {
|
"node_modules/@octokit/plugin-paginate-rest": {
|
||||||
"version": "12.0.0",
|
"version": "11.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.4.3.tgz",
|
||||||
"integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==",
|
"integrity": "sha512-tBXaAbXkqVJlRoA/zQVe9mUdb8rScmivqtpv3ovsC5xhje/a+NOCivs7eUhWBwCApJVsR4G5HMeaLbq7PxqZGA==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^14.0.0"
|
"@octokit/types": "^13.7.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
@@ -1581,28 +1578,12 @@
|
|||||||
"@octokit/core": ">=6"
|
"@octokit/core": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": {
|
|
||||||
"version": "25.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
|
|
||||||
"integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": {
|
|
||||||
"version": "14.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
|
|
||||||
"integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/openapi-types": "^25.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
"node_modules/@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "14.0.0",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-14.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.3.1.tgz",
|
||||||
"integrity": "sha512-iQt6ovem4b7zZYZQtdv+PwgbL5VPq37th1m2x2TdkgimIDJpsi2A6Q/OI/23i/hR6z5mL0EgisNR4dcbmckSZQ==",
|
"integrity": "sha512-o8uOBdsyR+WR8MK9Cco8dCgvG13H1RlM1nWnK/W7TEACQBFux/vPREgKucxUfuDQ5yi1T3hGf4C5ZmZXAERgwQ==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@octokit/types": "^14.0.0"
|
"@octokit/types": "^13.8.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 18"
|
"node": ">= 18"
|
||||||
@@ -1611,21 +1592,6 @@
|
|||||||
"@octokit/core": ">=6"
|
"@octokit/core": ">=6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/openapi-types": {
|
|
||||||
"version": "25.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
|
|
||||||
"integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw==",
|
|
||||||
"license": "MIT"
|
|
||||||
},
|
|
||||||
"node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": {
|
|
||||||
"version": "14.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
|
|
||||||
"integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/openapi-types": "^25.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@octokit/request": {
|
"node_modules/@octokit/request": {
|
||||||
"version": "9.2.2",
|
"version": "9.2.2",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.2.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/request/-/request-9.2.2.tgz",
|
||||||
@@ -1738,16 +1704,6 @@
|
|||||||
"@protobuf-ts/runtime": "^2.9.4"
|
"@protobuf-ts/runtime": "^2.9.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@renovatebot/pep440": {
|
|
||||||
"version": "4.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@renovatebot/pep440/-/pep440-4.1.0.tgz",
|
|
||||||
"integrity": "sha512-mo2RxnOSp78Njt1HmgMwjl6FapP4OyIS8HypJlymCvN7AIV2Xf5PmZfl/E3O1WWZ6IjKrfsEAaPWFMi8tnkq3g==",
|
|
||||||
"license": "Apache-2.0",
|
|
||||||
"engines": {
|
|
||||||
"node": "^20.9.0 || ^22.11.0",
|
|
||||||
"pnpm": "^9.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@sinclair/typebox": {
|
"node_modules/@sinclair/typebox": {
|
||||||
"version": "0.27.8",
|
"version": "0.27.8",
|
||||||
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
|
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
|
||||||
@@ -1847,12 +1803,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/node": {
|
"node_modules/@types/node": {
|
||||||
"version": "22.15.3",
|
"version": "22.13.10",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz",
|
||||||
"integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
|
"integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"undici-types": "~6.21.0"
|
"undici-types": "~6.20.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/node-fetch": {
|
"node_modules/@types/node-fetch": {
|
||||||
@@ -1878,11 +1833,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@types/semver": {
|
"node_modules/@types/semver": {
|
||||||
"version": "7.7.0",
|
"version": "7.5.8",
|
||||||
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
|
||||||
"integrity": "sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==",
|
"integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
|
||||||
"dev": true,
|
"dev": true
|
||||||
"license": "MIT"
|
|
||||||
},
|
},
|
||||||
"node_modules/@types/stack-utils": {
|
"node_modules/@types/stack-utils": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.1",
|
||||||
@@ -4394,11 +4348,10 @@
|
|||||||
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
||||||
},
|
},
|
||||||
"node_modules/ts-jest": {
|
"node_modules/ts-jest": {
|
||||||
"version": "29.3.2",
|
"version": "29.2.6",
|
||||||
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.6.tgz",
|
||||||
"integrity": "sha512-bJJkrWc6PjFVz5g2DGCNUo8z7oFEYaz1xP1NpeDU7KNLMWPpEyV8Chbpkn8xjzgRDpQhnGMyvyldoL7h8JXyug==",
|
"integrity": "sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bs-logger": "^0.2.6",
|
"bs-logger": "^0.2.6",
|
||||||
"ejs": "^3.1.10",
|
"ejs": "^3.1.10",
|
||||||
@@ -4408,7 +4361,6 @@
|
|||||||
"lodash.memoize": "^4.1.2",
|
"lodash.memoize": "^4.1.2",
|
||||||
"make-error": "^1.3.6",
|
"make-error": "^1.3.6",
|
||||||
"semver": "^7.7.1",
|
"semver": "^7.7.1",
|
||||||
"type-fest": "^4.39.1",
|
|
||||||
"yargs-parser": "^21.1.1"
|
"yargs-parser": "^21.1.1"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -4477,19 +4429,6 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/type-fest": {
|
|
||||||
"version": "4.40.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.40.1.tgz",
|
|
||||||
"integrity": "sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA==",
|
|
||||||
"dev": true,
|
|
||||||
"license": "(MIT OR CC0-1.0)",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=16"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.8.2",
|
"version": "5.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
|
||||||
@@ -4512,10 +4451,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/undici-types": {
|
"node_modules/undici-types": {
|
||||||
"version": "6.21.0",
|
"version": "6.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||||
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==",
|
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="
|
||||||
"license": "MIT"
|
|
||||||
},
|
},
|
||||||
"node_modules/universal-user-agent": {
|
"node_modules/universal-user-agent": {
|
||||||
"version": "7.0.2",
|
"version": "7.0.2",
|
||||||
@@ -4719,9 +4657,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": {
|
"@actions/cache": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@actions/cache/-/cache-4.0.2.tgz",
|
||||||
"integrity": "sha512-SvrqFtYJ7I48A/uXNkoJrnukx5weQv1fGquhs3+4nkByZThBH109KTIqj5x/cGV7JGNvb8dLPVywUOqX1fjiXg==",
|
"integrity": "sha512-cBr7JL1q+JKjbBd3w3SZN5OQ1Xg+/D8QLMcE7MpgpghZlL4biBO0ZEeraoTxCZyfN0YY0dxXlLgsgGv/sT5BTg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.0.1",
|
"@actions/exec": "^1.0.1",
|
||||||
@@ -5893,49 +5831,19 @@
|
|||||||
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g=="
|
"integrity": "sha512-izFjMJ1sir0jn0ldEKhZ7xegCTj/ObmEDlEfpFrx4k/JyZSMRHbO3/rBwgE7f3m2DHt+RrNGIVw4wSmwnm3t/g=="
|
||||||
},
|
},
|
||||||
"@octokit/plugin-paginate-rest": {
|
"@octokit/plugin-paginate-rest": {
|
||||||
"version": "12.0.0",
|
"version": "11.4.3",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-12.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-11.4.3.tgz",
|
||||||
"integrity": "sha512-MPd6WK1VtZ52lFrgZ0R2FlaoiWllzgqFHaSZxvp72NmoDeZ0m8GeJdg4oB6ctqMTYyrnDYp592Xma21mrgiyDA==",
|
"integrity": "sha512-tBXaAbXkqVJlRoA/zQVe9mUdb8rScmivqtpv3ovsC5xhje/a+NOCivs7eUhWBwCApJVsR4G5HMeaLbq7PxqZGA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/types": "^14.0.0"
|
"@octokit/types": "^13.7.0"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/openapi-types": {
|
|
||||||
"version": "25.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
|
|
||||||
"integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw=="
|
|
||||||
},
|
|
||||||
"@octokit/types": {
|
|
||||||
"version": "14.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
|
|
||||||
"integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
|
|
||||||
"requires": {
|
|
||||||
"@octokit/openapi-types": "^25.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/plugin-rest-endpoint-methods": {
|
"@octokit/plugin-rest-endpoint-methods": {
|
||||||
"version": "14.0.0",
|
"version": "13.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-14.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-13.3.1.tgz",
|
||||||
"integrity": "sha512-iQt6ovem4b7zZYZQtdv+PwgbL5VPq37th1m2x2TdkgimIDJpsi2A6Q/OI/23i/hR6z5mL0EgisNR4dcbmckSZQ==",
|
"integrity": "sha512-o8uOBdsyR+WR8MK9Cco8dCgvG13H1RlM1nWnK/W7TEACQBFux/vPREgKucxUfuDQ5yi1T3hGf4C5ZmZXAERgwQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@octokit/types": "^14.0.0"
|
"@octokit/types": "^13.8.0"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@octokit/openapi-types": {
|
|
||||||
"version": "25.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-25.0.0.tgz",
|
|
||||||
"integrity": "sha512-FZvktFu7HfOIJf2BScLKIEYjDsw6RKc7rBJCdvCTfKsVnx2GEB/Nbzjr29DUdb7vQhlzS/j8qDzdditP0OC6aw=="
|
|
||||||
},
|
|
||||||
"@octokit/types": {
|
|
||||||
"version": "14.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@octokit/types/-/types-14.0.0.tgz",
|
|
||||||
"integrity": "sha512-VVmZP0lEhbo2O1pdq63gZFiGCKkm8PPp8AUOijlwPO6hojEVjspA0MWKP7E4hbvGxzFKNqKr6p0IYtOH/Wf/zA==",
|
|
||||||
"requires": {
|
|
||||||
"@octokit/openapi-types": "^25.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@octokit/request": {
|
"@octokit/request": {
|
||||||
@@ -6024,11 +5932,6 @@
|
|||||||
"@protobuf-ts/runtime": "^2.9.4"
|
"@protobuf-ts/runtime": "^2.9.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@renovatebot/pep440": {
|
|
||||||
"version": "4.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@renovatebot/pep440/-/pep440-4.1.0.tgz",
|
|
||||||
"integrity": "sha512-mo2RxnOSp78Njt1HmgMwjl6FapP4OyIS8HypJlymCvN7AIV2Xf5PmZfl/E3O1WWZ6IjKrfsEAaPWFMi8tnkq3g=="
|
|
||||||
},
|
|
||||||
"@sinclair/typebox": {
|
"@sinclair/typebox": {
|
||||||
"version": "0.27.8",
|
"version": "0.27.8",
|
||||||
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
|
"resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz",
|
||||||
@@ -6128,11 +6031,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/node": {
|
"@types/node": {
|
||||||
"version": "22.15.3",
|
"version": "22.13.10",
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.13.10.tgz",
|
||||||
"integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==",
|
"integrity": "sha512-I6LPUvlRH+O6VRUqYOcMudhaIdUVWfsjnZavnsraHvpBwaEyMN29ry+0UVJhImYL16xsscu0aske3yA+uPOWfw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"undici-types": "~6.21.0"
|
"undici-types": "~6.20.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/node-fetch": {
|
"@types/node-fetch": {
|
||||||
@@ -6157,9 +6060,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/semver": {
|
"@types/semver": {
|
||||||
"version": "7.7.0",
|
"version": "7.5.8",
|
||||||
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.8.tgz",
|
||||||
"integrity": "sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==",
|
"integrity": "sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@types/stack-utils": {
|
"@types/stack-utils": {
|
||||||
@@ -8013,9 +7916,9 @@
|
|||||||
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
||||||
},
|
},
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"version": "29.3.2",
|
"version": "29.2.6",
|
||||||
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.6.tgz",
|
||||||
"integrity": "sha512-bJJkrWc6PjFVz5g2DGCNUo8z7oFEYaz1xP1NpeDU7KNLMWPpEyV8Chbpkn8xjzgRDpQhnGMyvyldoL7h8JXyug==",
|
"integrity": "sha512-yTNZVZqc8lSixm+QGVFcPe6+yj7+TWZwIesuOWvfcn4B9bz5x4NDzVCQQjOs7Hfouu36aEqfEbo9Qpo+gq8dDg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"bs-logger": "^0.2.6",
|
"bs-logger": "^0.2.6",
|
||||||
@@ -8026,7 +7929,6 @@
|
|||||||
"lodash.memoize": "^4.1.2",
|
"lodash.memoize": "^4.1.2",
|
||||||
"make-error": "^1.3.6",
|
"make-error": "^1.3.6",
|
||||||
"semver": "^7.7.1",
|
"semver": "^7.7.1",
|
||||||
"type-fest": "^4.39.1",
|
|
||||||
"yargs-parser": "^21.1.1"
|
"yargs-parser": "^21.1.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -8054,12 +7956,6 @@
|
|||||||
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
|
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"type-fest": {
|
|
||||||
"version": "4.40.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.40.1.tgz",
|
|
||||||
"integrity": "sha512-9YvLNnORDpI+vghLU/Nf+zSv0kL47KbVJ1o3sKgoTefl6i+zebxbiDQWoe/oWWqPhIgQdRZRT1KA9sCPL810SA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"typescript": {
|
"typescript": {
|
||||||
"version": "5.8.2",
|
"version": "5.8.2",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
|
||||||
@@ -8072,9 +7968,9 @@
|
|||||||
"integrity": "sha512-NFQG741e8mJ0fLQk90xKxFdaSM7z4+IQpAgsFI36bCDY9Z2+aXXZjVy2uUksMouWfMI9+w5ejOq5zYYTBCQJDQ=="
|
"integrity": "sha512-NFQG741e8mJ0fLQk90xKxFdaSM7z4+IQpAgsFI36bCDY9Z2+aXXZjVy2uUksMouWfMI9+w5ejOq5zYYTBCQJDQ=="
|
||||||
},
|
},
|
||||||
"undici-types": {
|
"undici-types": {
|
||||||
"version": "6.21.0",
|
"version": "6.20.0",
|
||||||
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz",
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
|
||||||
"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="
|
"integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="
|
||||||
},
|
},
|
||||||
"universal-user-agent": {
|
"universal-user-agent": {
|
||||||
"version": "7.0.2",
|
"version": "7.0.2",
|
||||||
|
|||||||
17
package.json
17
package.json
@@ -23,27 +23,26 @@
|
|||||||
"author": "@eifinger",
|
"author": "@eifinger",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/cache": "^4.0.3",
|
"@actions/cache": "^4.0.2",
|
||||||
"@actions/core": "^1.11.1",
|
"@actions/core": "^1.11.1",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"@actions/glob": "^0.5.0",
|
"@actions/glob": "^0.5.0",
|
||||||
"@actions/io": "^1.1.3",
|
"@actions/io": "^1.1.3",
|
||||||
"@actions/tool-cache": "^2.0.2",
|
"@actions/tool-cache": "^2.0.2",
|
||||||
"@octokit/core": "^6.1.4",
|
"@octokit/core": "^6.1.4",
|
||||||
"@octokit/plugin-paginate-rest": "^12.0.0",
|
"@octokit/plugin-paginate-rest": "^11.4.3",
|
||||||
"@octokit/plugin-rest-endpoint-methods": "^14.0.0",
|
"@octokit/plugin-rest-endpoint-methods": "^13.3.1",
|
||||||
"@renovatebot/pep440": "^4.1.0",
|
"undici": "^7.5.0",
|
||||||
"smol-toml": "^1.3.1",
|
"smol-toml": "^1.3.1"
|
||||||
"undici": "^7.5.0"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "1.9.4",
|
"@biomejs/biome": "1.9.4",
|
||||||
"@types/node": "^22.15.3",
|
"@types/node": "^22.13.10",
|
||||||
"@types/semver": "^7.7.0",
|
"@types/semver": "^7.5.8",
|
||||||
"@vercel/ncc": "^0.38.3",
|
"@vercel/ncc": "^0.38.3",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"js-yaml": "^4.1.0",
|
"js-yaml": "^4.1.0",
|
||||||
"ts-jest": "^29.3.2",
|
"ts-jest": "^29.2.6",
|
||||||
"typescript": "^5.8.2"
|
"typescript": "^5.8.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
3
src/cache/restore-cache.ts
vendored
3
src/cache/restore-cache.ts
vendored
@@ -5,7 +5,6 @@ import {
|
|||||||
cacheLocalPath,
|
cacheLocalPath,
|
||||||
cacheSuffix,
|
cacheSuffix,
|
||||||
pythonVersion as pythonVersionInput,
|
pythonVersion as pythonVersionInput,
|
||||||
workingDirectory,
|
|
||||||
} from "../utils/inputs";
|
} from "../utils/inputs";
|
||||||
import { getArch, getPlatform } from "../utils/platforms";
|
import { getArch, getPlatform } from "../utils/platforms";
|
||||||
import { hashFiles } from "../hash/hash-files";
|
import { hashFiles } from "../hash/hash-files";
|
||||||
@@ -74,7 +73,7 @@ async function getPythonVersion(): Promise<string> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const execArgs = ["python", "find", "--directory", workingDirectory];
|
const execArgs = ["python", "find"];
|
||||||
await exec.exec("uv", execArgs, options);
|
await exec.exec("uv", execArgs, options);
|
||||||
const pythonPath = output.trim();
|
const pythonPath = output.trim();
|
||||||
|
|
||||||
|
|||||||
@@ -1,379 +1,5 @@
|
|||||||
// AUTOGENERATED_DO_NOT_EDIT
|
// AUTOGENERATED_DO_NOT_EDIT
|
||||||
export const KNOWN_CHECKSUMS: { [key: string]: string } = {
|
export const KNOWN_CHECKSUMS: { [key: string]: string } = {
|
||||||
"aarch64-apple-darwin-0.6.17":
|
|
||||||
"e686c73b9314c77a36a6a4c9f94b07c001f0c9157c50c63c764941141c0d0088",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.17":
|
|
||||||
"3a9468e90df970f75759da6caed7dfde2816e0f3842031235c3835fc0c4e7d09",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.17":
|
|
||||||
"6fb716c36e8ca9cf98b7cb347b0ced41679145837eb22890ee5fa9d8b68ce9f5",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.17":
|
|
||||||
"98750f5c0cd9eb520799d10649efb18441b616150f07e6c1125f616a3fd137e8",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.17":
|
|
||||||
"649d8d0f37e8365af5aaa012b09dd083d6e71018e569a4d2e78316d5013f18a7",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.17":
|
|
||||||
"efc12955d7a6120ea0be2de5ee03dbb33d0d7d9de9dbe0dce560514f2ee129d3",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.17":
|
|
||||||
"0661d97df8262ef83ccdc6a55ed101abfe8f1cf1ff1be879d9b0d7d1e894c970",
|
|
||||||
"i686-pc-windows-msvc-0.6.17":
|
|
||||||
"56dea6c98e1606e95445e77177d7e3cd49bb3d1a63c81b11fe49bf733adb62a2",
|
|
||||||
"i686-unknown-linux-gnu-0.6.17":
|
|
||||||
"4bc37f8303a4a5aae1c309f08166884027f325b6872c418cfbaa2cf20a2b2ac5",
|
|
||||||
"i686-unknown-linux-musl-0.6.17":
|
|
||||||
"8ec08cca0806a9205ccf5758258c617b57e413b33275bcd861fca363e0eaddf7",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.17":
|
|
||||||
"d33b70ab206e1ed0663e755506a11db3776787012bfe9d2b2138a90942f506be",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.17":
|
|
||||||
"cd91a579850fc45d3b786a654a2c0343836f007929b2e35de9606082eec5361f",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.17":
|
|
||||||
"3c753a9d3485bbac23403a0b41a9e70ceeb586f3b4df891ced7ed27d4c6c542b",
|
|
||||||
"x86_64-apple-darwin-0.6.17":
|
|
||||||
"61e9bdc02aacdb994da6ea2a477b11b34c23fc09203237aeee8d3817daab012d",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.17":
|
|
||||||
"32882cf98f646cafca003e7a7c471b7ff4ba977b681c9fa3b12cf908ba64af82",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.17":
|
|
||||||
"720ec28f7a94aa8cd91d3d57dec1434d64b9ae13d1dd6a25f4c0cdb837ba9cf6",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.17":
|
|
||||||
"28bd6b50be068cc09d8a46b76f8c4b72271d471c6673a5bdb47793622e62224d",
|
|
||||||
"aarch64-apple-darwin-0.6.16":
|
|
||||||
"2b1ea0d5cf27375738f5f0f229587bc3590c0f501cb00bc48133a3d122d28364",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.16":
|
|
||||||
"5abca187b8aecbdffef7547cb39a527168e4cb93d8d2e4ce14271f5831a4d902",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.16":
|
|
||||||
"a82f96ab5f285825f9acee6ac1563683c4940d80df2f08549cad43d37c7ba4a7",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.16":
|
|
||||||
"ae3f793c62fe6ced80483d6c78cb49f06a01088bc5d86f1446a9b5988b2acecc",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.16":
|
|
||||||
"91f7f5a4eb97b7983a8e5421d5bfea8802064422ce2f535055f373726eb0aa9a",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.16":
|
|
||||||
"a4ffe043952bf4e757a5ca0f546bb83b055b6ee0646dd5c4f5e5f13dbc5ee8f8",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.16":
|
|
||||||
"0237c8d9914e0d9fd2f022d6d5f91ce392d13e0ccbb7fa7ebe601296a67c3d6c",
|
|
||||||
"i686-pc-windows-msvc-0.6.16":
|
|
||||||
"f5c6400f07db2014b2b0c66770e1125fa70efe4dd99cc8351838bed0045c34f8",
|
|
||||||
"i686-unknown-linux-gnu-0.6.16":
|
|
||||||
"f46f89efcc599a6695e8378a1201e62cd4afb9a4438d65a89098ab11201f84ab",
|
|
||||||
"i686-unknown-linux-musl-0.6.16":
|
|
||||||
"afe69380a9d3592a87893d6bdc11ff33e4180b98f1e1fd4e626c0307d7598914",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.16":
|
|
||||||
"bf455747580dbbf76cbcf616f67f825c40bd1bdec20c9ff993e03485f9eaad44",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.16":
|
|
||||||
"508ec561b1740a551d2b33e96671e0e8435a1bcc0e97080f3d7ba88a096bd360",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.16":
|
|
||||||
"e25c5527826524f51f114388bff47871bf1ca67badbfd72d45427bdba4b46794",
|
|
||||||
"x86_64-apple-darwin-0.6.16":
|
|
||||||
"ce512b5e40a8ad2916a46df2bdba729d5541e4b3649a09aaddff6e525be012e4",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.16":
|
|
||||||
"f1b4c24ec602b6c0b06b6bc64aa447bbe4cf313e93fbec326741961e80ffa8b7",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.16":
|
|
||||||
"e9ef28b675df68978a60f87192fb8c730b8bfca9bef42b121686b218ea0f6542",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.16":
|
|
||||||
"25024557931d04cc34f80b818c7547c9c62b762ec6df807e30cb52f383fa2615",
|
|
||||||
"aarch64-apple-darwin-0.6.15":
|
|
||||||
"1c5b25f75c6438b6910dbc4c6903debe53f31ee14aee55d02243dfe7bf7c9f72",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.15":
|
|
||||||
"317fe0b29e647aad1e9f02ffe764dcbbc6e2ef189f018c81b673884173ab98ba",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.15":
|
|
||||||
"3bf650aec162157b7e01461f41c2a9797366b6043452c6e7035c6c926d0a585b",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.15":
|
|
||||||
"183cebae8c9d91bbd48219f9006a5c0c41c90a075d6724aec53a7ea0503c665a",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.15":
|
|
||||||
"d83c76e130ffb25fb6a4ba8ea5870207d810190733a14ae87084c63a417912f6",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.15":
|
|
||||||
"d661ec44e5fc7553cd8dd5ad5f48848c5a4d5279ba0df0036c0e2422ec9f312b",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.15":
|
|
||||||
"6fc86a829965362f99602c47627b269c9b676731586a60ca5bb9d6069677938d",
|
|
||||||
"i686-pc-windows-msvc-0.6.15":
|
|
||||||
"7f15e3377e94fac882b33465cb8cbb24705f5c8d63d9d65c6f1b0816c1d30a0b",
|
|
||||||
"i686-unknown-linux-gnu-0.6.15":
|
|
||||||
"bfedd03be9f579a9bc10e6c25176017e514cca0500cfb9bba43794387a577661",
|
|
||||||
"i686-unknown-linux-musl-0.6.15":
|
|
||||||
"82bf8666c0a57514af4e5403f162314b710e1682e1065ab71a845ebb5d8db0b7",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.15":
|
|
||||||
"6e9795344d61ee9ac497d6e03a447d808f2aab13925f30e44c00638abec57deb",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.15":
|
|
||||||
"e38f13284ed8b645b87ef07c8b549d1f1a5b746aa0411c2115dcd5cda0da13fc",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.15":
|
|
||||||
"416f61249b330ea9735cda0c866c9460f87111bc9d4e040c98916fda6a45be09",
|
|
||||||
"x86_64-apple-darwin-0.6.15":
|
|
||||||
"97adf61511c0f6ea42c090443c38d8d71116b78ae626363f9f149924c91ae886",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.15":
|
|
||||||
"10c75d566db1447f3bdcbcb31d6598e4b5f4ea638be5d8b73a7350929389512b",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.15":
|
|
||||||
"85d98ef282cdbfcb4020922f0c12421ecca4130f0a4570d3b827a15ffd544acc",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.15":
|
|
||||||
"78289c93836cb32b8b24e3216b5b316e7fdf483365de2fc571844d308387e8a4",
|
|
||||||
"aarch64-apple-darwin-0.6.14":
|
|
||||||
"4ea4731010fbd1bc8e790e07f199f55a5c7c2c732e9b77f85e302b0bee61b756",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.14":
|
|
||||||
"7b0b3367c4060c9b47b961201ceb4252e97496c890ad1bd13c664bf5b0744d57",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.14":
|
|
||||||
"ea25597354af186bdd55aee0de431e16d45d82951a4f41f065a8e4dc27885265",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.14":
|
|
||||||
"94e22c4be44d205def456427639ca5ca1c1a9e29acc31808a7b28fdd5dcf7f17",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.14":
|
|
||||||
"de00f51ff804c145f9a0a13ead54e1ed08d317fac690477312cf9430ed43e62e",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.14":
|
|
||||||
"d73b09f23c7056b3b5318edf670ebc8d2eac5adfdd4f4ee46796723298f21e18",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.14":
|
|
||||||
"f7844b89c77d1d57ca28a25b6b2e16a5bb3605ccf1dd9dc17ce641a2fa2d8b29",
|
|
||||||
"i686-pc-windows-msvc-0.6.14":
|
|
||||||
"4e9f9ccc229a03d923213b8b4c7b373cd8bb941984f421de17fe9dac3d5491e9",
|
|
||||||
"i686-unknown-linux-gnu-0.6.14":
|
|
||||||
"32c967c3dd80ecc9006a30be1a9c8ec77d63aa8080b78787d4ec0f79db12dbe4",
|
|
||||||
"i686-unknown-linux-musl-0.6.14":
|
|
||||||
"c5a484d15049fd2b8ea9a7bbf0f968614819a7eda769f35c202e01e1904f6458",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.14":
|
|
||||||
"79abdc4c6e566e98067dc4b612f1fca5cb384b964553a0b8e0f5c40885ff3db8",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.14":
|
|
||||||
"2eae20cf66ba5de1b7ac180458e4f2a889cd705637626e01c400f73f07dd0491",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.14":
|
|
||||||
"a51f8319b2b334c1392d3927e925b46c62ac584eb35b944d384f0af227cf0f36",
|
|
||||||
"x86_64-apple-darwin-0.6.14":
|
|
||||||
"1d8ecb2eb3b68fb50e4249dc96ac9d2458dc24068848f04f4c5b42af2fd26552",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.14":
|
|
||||||
"93b29fc234758e381df461d7638ff73d0f08bdf3a0dc37923b1ee0b9e442ca3f",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.14":
|
|
||||||
"0aaf451c391d3913823bfb8ed354b446dcfd0553a32ed8266611e4181c61fd51",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.14":
|
|
||||||
"0cac4df0cb3457b154f2039ae471e89cd4e15f3bd790bbb3cb0b8b40d940b93e",
|
|
||||||
"aarch64-apple-darwin-0.6.13":
|
|
||||||
"0ddb8458634cc3a02799b6da839cb546dff9dabc6f3394912c48dd479016683b",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.13":
|
|
||||||
"3f3d6aa73b4859469fa3ad7efca3e5d0dba1112292c91d5c5f740983f16a8d8a",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.13":
|
|
||||||
"ac0c723663ff76183077cc9aa91dcd0b5100081d87f93e1ba482930e0a584e90",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.13":
|
|
||||||
"379a5c48f6e3eb32c2d16022c0a4fc10cdfcca3543b75e2e9d819d62fead6a75",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.13":
|
|
||||||
"ba1f630a299cfdd456b93a8b41e20bd2ad37a86aac884aca4efd722a62a26bb8",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.13":
|
|
||||||
"1d55eb46510db8f169bb9be6fbd3a6ff34aa52340dff5eda0acdcb1b834e8bee",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.13":
|
|
||||||
"dc86e9d807ac324eed2e4a73fec341618ea288826a27143b8b695565a35f1b70",
|
|
||||||
"i686-pc-windows-msvc-0.6.13":
|
|
||||||
"08367c3a04cf4da1c3ac6784431421de1efb8584ba68b8017efcd5e889d4a2a2",
|
|
||||||
"i686-unknown-linux-gnu-0.6.13":
|
|
||||||
"2896a75940761a2ce90a8a650da02d6766de0b9990dfa6a99cd94fd3d1e6c530",
|
|
||||||
"i686-unknown-linux-musl-0.6.13":
|
|
||||||
"29e64ef33ff2d7dcbbb3167bc7241de3b9d258fb39a6a992dfc847f1b968d32d",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.13":
|
|
||||||
"cdd2ba090ce9e3ed66a94bfe95b45a584bd5b9e45626836993f1279290b1a95e",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.13":
|
|
||||||
"88830c596ef2a875a0c73aefda48e8398fdafe4eb4acecbee0b44a7995e9dc13",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.13":
|
|
||||||
"49e494038871006e36b404f0559f1c831b3e68692986b3c67510a675028c9696",
|
|
||||||
"x86_64-apple-darwin-0.6.13":
|
|
||||||
"ed240854d97f7b234082f5a0ce734869a4310d86d46a819860bbce6d7df8b2eb",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.13":
|
|
||||||
"19bb08768fd3b8664068cc45faa633ee110bfef4215e560bc1e5833b1bc6c30e",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.13":
|
|
||||||
"f6788fd45a25ea1033a671eaa9ece6c9b004ce5c9cf09552effadde567a7d7a5",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.13":
|
|
||||||
"779560faf6a21b5a6dbc2664c2dfbde2b9387b1f486c9197a9f4d143a3b66875",
|
|
||||||
"aarch64-apple-darwin-0.6.12":
|
|
||||||
"fab8db5b62da1e945524b8d1a9d4946fcc6d9b77ec0cab423d953e82159967ac",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.12":
|
|
||||||
"d72d8cf0633dc40198a868e906442bc6bacfa38c3b807c26bcbf3fc364af5d96",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.12":
|
|
||||||
"d867553e5ea19f9cea08e564179d909c69ecfce5e7e382099d1844dbf1c9878c",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.12":
|
|
||||||
"e999ae0679bfabe8a1e6343b8b204a531a6c851e315caff9b326f34182884af6",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.12":
|
|
||||||
"da8d0700ec5e0cb0b2f20cc20834b48d5927197042e49bea5eef7fd139d72fe9",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.12":
|
|
||||||
"b5dedaca5fbb46f412c5426102eec7c9f10003a67dd41b943232e4a2b6a5cc16",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.12":
|
|
||||||
"8fb6c1b16f8b3c2aa4073cd02729432f9afd9389f110850aed8228464fa37398",
|
|
||||||
"i686-pc-windows-msvc-0.6.12":
|
|
||||||
"23431d1a798aee234bd7b271bce306fbd760c91d98e19a314ddd890a065aff83",
|
|
||||||
"i686-unknown-linux-gnu-0.6.12":
|
|
||||||
"d0774e847de6c0fe6a9c3aba44b7d400261d01171ae32da60c472eb410691785",
|
|
||||||
"i686-unknown-linux-musl-0.6.12":
|
|
||||||
"02e4503b244cbb18d2fa14b3a7e9433fe437e767ffcbfc39c5f0fdff9b8dd65e",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.12":
|
|
||||||
"046b43cf8af74d8892e9559e8b3181ec1e4045a4910a4dfdd00b110694c93188",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.12":
|
|
||||||
"e61ba76fa6dfd6041c985881c024385c31d544d6a182d1a050da7594438f073f",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.12":
|
|
||||||
"6eae67730009eb4f8ad7a4e5733ab69b6c4dcb21b482f4567015e3e6d0729357",
|
|
||||||
"x86_64-apple-darwin-0.6.12":
|
|
||||||
"5b6ee08766de11dc49ee9e292333e8b46ef2ceaaa3ebb0388467e114fca2ed8c",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.12":
|
|
||||||
"30fdf26c209f0cb7c97d3b08a26ab4e78ce5ae0e031b88798cbaccc0f24f452b",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.12":
|
|
||||||
"eec3ccf53616e00905279a302bc043451bd96ca71a159a2ac3199452ac914c26",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.12":
|
|
||||||
"25f055a556576003fefc0f5fd213bf3c6df1824d4c7fc35e6361fbecc420139f",
|
|
||||||
"aarch64-apple-darwin-0.6.11":
|
|
||||||
"a5b14a92448b908d1a5415f2a49522010fef8972695e2f7bbb4e5c5f88024573",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.11":
|
|
||||||
"858e523d9498a332aab093852c30c524bbd94622137dd6f773d19da14ac920b4",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.11":
|
|
||||||
"5384098938893f060b8b47e606918c271a419b52eedda1546a4d6febae4b0c06",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.11":
|
|
||||||
"de20c247ef6a6bc0948e611ace3f3f321c098d7bf75b737f169c1db06b4f4d69",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.11":
|
|
||||||
"76a1558e2cb8d0e5e646a0cf8a204b53d3779221bea3af50b204c8d28532daa7",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.11":
|
|
||||||
"5abacc141dabb6071fcc3a19a301874083c6cc4a36d6eb6b0654a276efbfd33b",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.11":
|
|
||||||
"cf05ab1fe44494cc490ec5c29578e200a3c195b395e67fe62d45be9a4c897d06",
|
|
||||||
"i686-pc-windows-msvc-0.6.11":
|
|
||||||
"331e94f1db12fa92266f764f63586d8c18e6cea5d37d430af2eb7673f108e874",
|
|
||||||
"i686-unknown-linux-gnu-0.6.11":
|
|
||||||
"b9d193f28736c3166f533c61fc4a2e8e8a4c7961c6bd46e17c3db66f750ef4b6",
|
|
||||||
"i686-unknown-linux-musl-0.6.11":
|
|
||||||
"dfa735baacc13ba9962fb9b7167599407aa733bfc7853824a785773769c58ed5",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.11":
|
|
||||||
"b79060dc0726a1fc8a4458a80fb1ce0489198dd3ad334fe54bb7926e473750ed",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.11":
|
|
||||||
"ebd219d0b5f0a60a584ebb88e1379c616e746cabaaf79608d54be5919d742ee3",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.11":
|
|
||||||
"3b5563127303c16e0531c1fd13356763decc0ea91b860eb5f63c3108a275aa2c",
|
|
||||||
"x86_64-apple-darwin-0.6.11":
|
|
||||||
"099b163ce5098558ccdc1df54bdcf8b02eb11364458095e95f8dd54ff8984d96",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.11":
|
|
||||||
"292ade13fc2e1530d0021ec7fd42526df58a8436974b8a5b829685db856e667e",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.11":
|
|
||||||
"c19b3be7ac26f8b211f7a5f07f01a77fd4d2b6205ff257790770a585f7f5bda4",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.11":
|
|
||||||
"23aabfa5d0bde26d151eaf31a392595a5c88e74e0bc804351b02fbb0328f8aaa",
|
|
||||||
"aarch64-apple-darwin-0.6.10":
|
|
||||||
"82bf2cb3b34ab504eb08486093c9e97cfaf5299da4d4a60e14b6642a2a2e9b8e",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.10":
|
|
||||||
"afc3c1ed78273843417b781fd30b263ba417dcfd05ef9a65be50eec7aa500f20",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.10":
|
|
||||||
"527f0adc3bcf841a3a0df0d3fef8db277b8afffac588d80948638719b611a8c2",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.10":
|
|
||||||
"36c36aafdf4b2fb8040d0b8db2eaa4b3f44260a689a6e789bc1cd95689e890bc",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.10":
|
|
||||||
"abef3136f0da26055368df298f3379bbd0d6776ba7e7a0c12275e403136408d8",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.10":
|
|
||||||
"8b776d606b3b9566ae659ab8b2c767e771f1f3e2e632b4c634ff80b26796795f",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.10":
|
|
||||||
"d5af6869e1f69753e9ac2b8bacadd6356f84f373b0f6edfda60dc85c194d3a6b",
|
|
||||||
"i686-pc-windows-msvc-0.6.10":
|
|
||||||
"ff6c580750d6bdbca1cb7c64601ebf0f079cc6d8ab79df6472e5fd61e4f89cf9",
|
|
||||||
"i686-unknown-linux-gnu-0.6.10":
|
|
||||||
"978e8d7b495251d842250045a3f15c59e9fe148d09538aa322d4c045db632cc3",
|
|
||||||
"i686-unknown-linux-musl-0.6.10":
|
|
||||||
"432c0609dec5d196f516639de8845fdf9393b4591978a927f6b2bfa92edd0220",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.10":
|
|
||||||
"ec4285062cc4bec8aa7f95efba227c4ee3301503938735902fdd896c3ef8ec7f",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.10":
|
|
||||||
"d1dcbdd11b133bcce003aa48be6710a56f1c938eff496eb021dbeac8c09b5c2d",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.10":
|
|
||||||
"4a68f92213c567a8d2bc22ccc10a328f3dd851967f315c517fc1eb52c8f58ed5",
|
|
||||||
"x86_64-apple-darwin-0.6.10":
|
|
||||||
"ddd27652b1a4053b848e35c348500841a8fde38e8ac2b37233464ab91e8f7788",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.10":
|
|
||||||
"c41c4f34782558d3263f7a51e4efd053bc4d074dc46fefa574c4fdb2ed0a00e1",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.10":
|
|
||||||
"d58885f055fdb726d12cdd1cc54119432a0e4557c8e8ba04ca1d625058b98832",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.10":
|
|
||||||
"1bdeaa0396405a30c4bff35b2d7c9df832836da50eec132ccc0d92657a336c4c",
|
|
||||||
"aarch64-apple-darwin-0.6.9":
|
|
||||||
"a6841484affb3c123313df98bcd8932208bdfb3d9d90a72aec274e8a696caa88",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.9":
|
|
||||||
"bdb7e5eebaa5bb807f2c665b909dbba4bce6f23adf774134924a4a3c6acd4e72",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.9":
|
|
||||||
"f5032ad47151c7906c0fb25f7c3b00a85ab0bfed2170cbc444e79c438799095b",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.9":
|
|
||||||
"4de15999c38a0e57a3708eccb1fe3295b3d1c0c69410029b16e5e42452d232a9",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.9":
|
|
||||||
"1a228a1cc86689894c771d0b4635b74708db416c240cfbdc36ddd87c90ae0eb0",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.9":
|
|
||||||
"a9a307d6b3e6a3500aa0102ff7b03cccebe2a9af40130df97382688574afc637",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.9":
|
|
||||||
"2cf77dcd0e73b323c5f10120452f6ef34191cab3bb8061ee01d5e62706af7493",
|
|
||||||
"i686-pc-windows-msvc-0.6.9":
|
|
||||||
"709d6d7e6d0e8244b4d51ac9ef0f373d2ac2cb20570e8bdf71c84ccab8c8cba0",
|
|
||||||
"i686-unknown-linux-gnu-0.6.9":
|
|
||||||
"4000a6fd98af6ed84c9a7c2f06019cab5f4a8cfa4e5a9c37b6984e4c7cae1df2",
|
|
||||||
"i686-unknown-linux-musl-0.6.9":
|
|
||||||
"d227586d574264922f344cf98b0f469335ce52d3443619d15448140b44ff8204",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.9":
|
|
||||||
"f12b8dbc8ed1ca24dfadbd3969730ab9c2cf797e117cdb508732f49b9fa4b620",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.9":
|
|
||||||
"451cd936bd35405c1cf2d0b63c975d5490e2646f1516b9bcb27af66688946903",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.9":
|
|
||||||
"e25ec6762b68383abfbecb1ec24c1eda52a64dc67866021280c649ef3813726f",
|
|
||||||
"x86_64-apple-darwin-0.6.9":
|
|
||||||
"96eb2bfbe2bb3b74836aa5d6f563ae21bbb9e071148adfda1e67000735a020a3",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.9":
|
|
||||||
"4d959abc2517c38b5527e3368b6755d66ecbb85679a9b2b34b7a78796c6cf7f8",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.9":
|
|
||||||
"001b87a0c2ea642a3c75a98c6af3e8528aa473d560e653cf213efcc9aaa4a028",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.9":
|
|
||||||
"2b2914da53f9412a1aad7457cee424680da037e6a49c378365c3b5ff5ef0b926",
|
|
||||||
"aarch64-apple-darwin-0.6.8":
|
|
||||||
"e4f83fc42d9735512198c2d86a6fc136e2f5a2b59b3ccc4f104018ed07465499",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.8":
|
|
||||||
"5619c7fbc026544c8cc77ade994ef79e799fc521a050268172aa47826f364834",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.8":
|
|
||||||
"3ffcaa4f4dba917fa58484a1c3dcb96a958a4baca0204e9c10a4799f81b9ee2f",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.8":
|
|
||||||
"c1d4504ee47d8577761989c9daa4bbd1b93e5d04056215584a0415ad8738b0f9",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.8":
|
|
||||||
"7280cb1425787faf335bed8e9f2d575bcb179e1b19489ee7984c546d6ef07fff",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.8":
|
|
||||||
"6753d79f3f8e1556a855912f0f859b039b67e591332f6ee794e2c51f2eda1658",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.8":
|
|
||||||
"ba73e8503d3ded103cc1fd946bd307f5b986e096d673296eb616f2edb6cf23aa",
|
|
||||||
"i686-pc-windows-msvc-0.6.8":
|
|
||||||
"c28ab471753368b79887fd5cbd12b002704fa7fb2e96b0f5a98277e4f1d8572a",
|
|
||||||
"i686-unknown-linux-gnu-0.6.8":
|
|
||||||
"df60b14b5b6bf29c75c06d8d04b0dd358070bf91f19c6f23afaf738fd05fa271",
|
|
||||||
"i686-unknown-linux-musl-0.6.8":
|
|
||||||
"b1e92aabb97fa356e8f0d4b61f698e0f372b6a5582df949ffbcc60565e7a9c7a",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.8":
|
|
||||||
"a18998d2f8f426b1ccf1f6c7ec279dd35ccc1cbe76d90b185e453e6b199df245",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.8":
|
|
||||||
"0d7460fe945a7ed48a9236d50f683a5eb937f22eaa605f4e6eb6a5f9cdf3676e",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.8":
|
|
||||||
"127a7d547be5029b29532f937822332fed690e135d0a97ec9574d43904a4622a",
|
|
||||||
"x86_64-apple-darwin-0.6.8":
|
|
||||||
"e069e79f6e0c430d7beaca3025b398980357b8b5c6faa7191032e20d5ee75970",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.8":
|
|
||||||
"d31c3d01ca3e1a75e15ed9514c135239770b6b40a99cae716661e28e433aa495",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.8":
|
|
||||||
"2378ea0122bd56a11ee7ae2ad6116c1f22f4657c03b9efb78ac150236bf7974c",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.8":
|
|
||||||
"58902317e1872994b5e707c3c77f4cbf3010104d4b07990a5110bbc09f3e9b8a",
|
|
||||||
"aarch64-apple-darwin-0.6.7":
|
|
||||||
"1a4d04477893c215e3def30149208fabe58a70d031388684d0125f553e3cd74f",
|
|
||||||
"aarch64-pc-windows-msvc-0.6.7":
|
|
||||||
"1c6de0c79ad35baadb61f6be7a014f3114a320809868b4ccb09c4d16b7118b48",
|
|
||||||
"aarch64-unknown-linux-gnu-0.6.7":
|
|
||||||
"b64c4ec32d55bd8e8b726b3162be0dfb3c117c3ca4cd798862497d33fe68e7b9",
|
|
||||||
"aarch64-unknown-linux-musl-0.6.7":
|
|
||||||
"df9e1b9530ad63085b66936e65cca107acc98197856e2ac22b896b1ab3936ac4",
|
|
||||||
"arm-unknown-linux-musleabihf-0.6.7":
|
|
||||||
"03a4b36d50fe4f0e50845559a524ed75610762072075c411f7ed84479e6c736d",
|
|
||||||
"armv7-unknown-linux-gnueabihf-0.6.7":
|
|
||||||
"a877f7697375f6b19d3b537c5152cbb3d86430120b20d957cfa7c084e6b79d6c",
|
|
||||||
"armv7-unknown-linux-musleabihf-0.6.7":
|
|
||||||
"e337a7dd6b86c842dac78041acfa9d9402662d5a8cede1d0ae694c9c17057162",
|
|
||||||
"i686-pc-windows-msvc-0.6.7":
|
|
||||||
"33002d9f1dab894f48254f43b4b882f6c88078d70ace883ed29fcde82616bbb0",
|
|
||||||
"i686-unknown-linux-gnu-0.6.7":
|
|
||||||
"b5f04a274f96aa41e8094b1c4355632f6caa9dfb7e62a45908950ca1c5d3fb38",
|
|
||||||
"i686-unknown-linux-musl-0.6.7":
|
|
||||||
"bd56de94a3ffac99a06fc0d37e7cb45e1c35ba275924b5ed502da833dc712d12",
|
|
||||||
"powerpc64-unknown-linux-gnu-0.6.7":
|
|
||||||
"57c668908878e1b12c726efc0439cd609697892a22e1e43c0ebb520ef2995a27",
|
|
||||||
"powerpc64le-unknown-linux-gnu-0.6.7":
|
|
||||||
"abe3004c0fc468e89ddcf8490991c7fc83abc9d9f6e6a29c59473541265e8bd5",
|
|
||||||
"s390x-unknown-linux-gnu-0.6.7":
|
|
||||||
"b6c60b7b907f871880a9be43294b02f84be5ec3187b1a16d7705f5beb622e01a",
|
|
||||||
"x86_64-apple-darwin-0.6.7":
|
|
||||||
"680be39f40bf00a8c3a6776e9ddaa9c3c18ef2efbb0c1a9a854b333660ca8678",
|
|
||||||
"x86_64-pc-windows-msvc-0.6.7":
|
|
||||||
"11b902b07e98331cef0d648c182c6aa1f279cde688c4411eb9153dc957d48f90",
|
|
||||||
"x86_64-unknown-linux-gnu-0.6.7":
|
|
||||||
"601c2b1147117c4471a154b4cebbdb31c818105f796d5f8115fe42d2526689c8",
|
|
||||||
"x86_64-unknown-linux-musl-0.6.7":
|
|
||||||
"a31bd6916eff780a7a44c84c194f4f8b70a8250b9175b3839ce2d4403fd735de",
|
|
||||||
"aarch64-apple-darwin-0.6.6":
|
"aarch64-apple-darwin-0.6.6":
|
||||||
"d0fb047593122746c7529960f8efd5d7d10d2cb230302f71158e9765ad37727b",
|
"d0fb047593122746c7529960f8efd5d7d10d2cb230302f71158e9765ad37727b",
|
||||||
"aarch64-pc-windows-msvc-0.6.6":
|
"aarch64-pc-windows-msvc-0.6.6":
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import * as core from "@actions/core";
|
import * as core from "@actions/core";
|
||||||
import * as tc from "@actions/tool-cache";
|
import * as tc from "@actions/tool-cache";
|
||||||
import * as path from "node:path";
|
import * as path from "node:path";
|
||||||
import * as pep440 from "@renovatebot/pep440";
|
|
||||||
import { promises as fs } from "node:fs";
|
import { promises as fs } from "node:fs";
|
||||||
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
|
import { OWNER, REPO, TOOL_CACHE_NAME } from "../utils/constants";
|
||||||
import type { Architecture, Platform } from "../utils/platforms";
|
import type { Architecture, Platform } from "../utils/platforms";
|
||||||
@@ -86,8 +85,8 @@ export async function resolveVersion(
|
|||||||
}
|
}
|
||||||
const availableVersions = await getAvailableVersions(githubToken);
|
const availableVersions = await getAvailableVersions(githubToken);
|
||||||
core.debug(`Available versions: ${availableVersions}`);
|
core.debug(`Available versions: ${availableVersions}`);
|
||||||
const resolvedVersion = maxSatisfying(availableVersions, version);
|
const resolvedVersion = tc.evaluateVersions(availableVersions, version);
|
||||||
if (resolvedVersion === undefined) {
|
if (resolvedVersion === "") {
|
||||||
throw new Error(`No version found for ${version}`);
|
throw new Error(`No version found for ${version}`);
|
||||||
}
|
}
|
||||||
return resolvedVersion;
|
return resolvedVersion;
|
||||||
@@ -155,22 +154,3 @@ async function getLatestRelease(octokit: InstanceType<typeof Octokit>) {
|
|||||||
});
|
});
|
||||||
return latestRelease;
|
return latestRelease;
|
||||||
}
|
}
|
||||||
|
|
||||||
function maxSatisfying(
|
|
||||||
versions: string[],
|
|
||||||
version: string,
|
|
||||||
): string | undefined {
|
|
||||||
const maxSemver = tc.evaluateVersions(versions, version);
|
|
||||||
if (maxSemver !== "") {
|
|
||||||
core.debug(`Found a version that satisfies the semver range: ${maxSemver}`);
|
|
||||||
return maxSemver;
|
|
||||||
}
|
|
||||||
const maxPep440 = pep440.maxSatisfying(versions, version);
|
|
||||||
if (maxPep440 !== null) {
|
|
||||||
core.debug(
|
|
||||||
`Found a version that satisfies the pep440 specifier: ${maxPep440}`,
|
|
||||||
);
|
|
||||||
return maxPep440;
|
|
||||||
}
|
|
||||||
return undefined;
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -14,21 +14,21 @@ import {
|
|||||||
type Platform,
|
type Platform,
|
||||||
} from "./utils/platforms";
|
} from "./utils/platforms";
|
||||||
import {
|
import {
|
||||||
activateEnvironment as activateEnvironmentInput,
|
|
||||||
cacheLocalPath,
|
cacheLocalPath,
|
||||||
checkSum,
|
checkSum,
|
||||||
ignoreEmptyWorkdir,
|
ignoreEmptyWorkdir,
|
||||||
enableCache,
|
enableCache,
|
||||||
githubToken,
|
githubToken,
|
||||||
|
pyProjectFile,
|
||||||
pythonVersion,
|
pythonVersion,
|
||||||
toolBinDir,
|
toolBinDir,
|
||||||
toolDir,
|
toolDir,
|
||||||
|
uvFile,
|
||||||
version as versionInput,
|
version as versionInput,
|
||||||
workingDirectory,
|
|
||||||
} from "./utils/inputs";
|
} from "./utils/inputs";
|
||||||
import * as exec from "@actions/exec";
|
import * as exec from "@actions/exec";
|
||||||
import fs from "node:fs";
|
import fs from "node:fs";
|
||||||
import { getUvVersionFromConfigFile } from "./utils/config-file";
|
import { getUvVersionFromConfigFile } from "./utils/pyproject";
|
||||||
|
|
||||||
async function run(): Promise<void> {
|
async function run(): Promise<void> {
|
||||||
detectEmptyWorkdir();
|
detectEmptyWorkdir();
|
||||||
@@ -44,11 +44,10 @@ async function run(): Promise<void> {
|
|||||||
}
|
}
|
||||||
const setupResult = await setupUv(platform, arch, checkSum, githubToken);
|
const setupResult = await setupUv(platform, arch, checkSum, githubToken);
|
||||||
|
|
||||||
|
addUvToPath(setupResult.uvDir);
|
||||||
addToolBinToPath();
|
addToolBinToPath();
|
||||||
addUvToPathAndOutput(setupResult.uvDir);
|
|
||||||
setToolDir();
|
setToolDir();
|
||||||
setupPython();
|
await setupPython();
|
||||||
await activateEnvironment();
|
|
||||||
addMatchers();
|
addMatchers();
|
||||||
setCacheDir(cacheLocalPath);
|
setCacheDir(cacheLocalPath);
|
||||||
|
|
||||||
@@ -112,26 +111,25 @@ async function determineVersion(): Promise<string> {
|
|||||||
if (versionInput !== "") {
|
if (versionInput !== "") {
|
||||||
return await resolveVersion(versionInput, githubToken);
|
return await resolveVersion(versionInput, githubToken);
|
||||||
}
|
}
|
||||||
const versionFromUvToml = getUvVersionFromConfigFile(
|
const configFile = uvFile !== "" ? uvFile : pyProjectFile;
|
||||||
`${workingDirectory}${path.sep}uv.toml`,
|
if (configFile !== "") {
|
||||||
);
|
const versionFromConfigFile = getUvVersionFromConfigFile(configFile);
|
||||||
const versionFromPyproject = getUvVersionFromConfigFile(
|
if (versionFromConfigFile === undefined) {
|
||||||
`${workingDirectory}${path.sep}pyproject.toml`,
|
core.warning(
|
||||||
);
|
`Could not find required-version under [tool.uv] in ${configFile}. Falling back to latest`,
|
||||||
if (versionFromUvToml === undefined && versionFromPyproject === undefined) {
|
|
||||||
core.info(
|
|
||||||
"Could not determine uv version from uv.toml or pyproject.toml. Falling back to latest.",
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return await resolveVersion(
|
return await resolveVersion(versionFromConfigFile || "latest", githubToken);
|
||||||
versionFromUvToml || versionFromPyproject || "latest",
|
}
|
||||||
githubToken,
|
if (!fs.existsSync("uv.toml") && !fs.existsSync("pyproject.toml")) {
|
||||||
);
|
return await resolveVersion("latest", githubToken);
|
||||||
|
}
|
||||||
|
const versionFile = fs.existsSync("uv.toml") ? "uv.toml" : "pyproject.toml";
|
||||||
|
const versionFromConfigFile = getUvVersionFromConfigFile(versionFile);
|
||||||
|
return await resolveVersion(versionFromConfigFile || "latest", githubToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
function addUvToPathAndOutput(cachedPath: string): void {
|
function addUvToPath(cachedPath: string): void {
|
||||||
core.setOutput("uv-path", `${cachedPath}${path.sep}uv`);
|
|
||||||
core.setOutput("uvx-path", `${cachedPath}${path.sep}uvx`);
|
|
||||||
core.addPath(cachedPath);
|
core.addPath(cachedPath);
|
||||||
core.info(`Added ${cachedPath} to the path`);
|
core.info(`Added ${cachedPath} to the path`);
|
||||||
}
|
}
|
||||||
@@ -163,29 +161,24 @@ function setToolDir(): void {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function setupPython(): void {
|
async function setupPython(): Promise<void> {
|
||||||
if (pythonVersion !== "") {
|
if (pythonVersion !== "") {
|
||||||
core.exportVariable("UV_PYTHON", pythonVersion);
|
core.exportVariable("UV_PYTHON", pythonVersion);
|
||||||
core.info(`Set UV_PYTHON to ${pythonVersion}`);
|
core.info(`Set UV_PYTHON to ${pythonVersion}`);
|
||||||
}
|
const options: exec.ExecOptions = {
|
||||||
}
|
silent: !core.isDebug(),
|
||||||
|
};
|
||||||
async function activateEnvironment(): Promise<void> {
|
const execArgs = ["venv", "--python", pythonVersion];
|
||||||
if (activateEnvironmentInput) {
|
|
||||||
const execArgs = ["venv", ".venv", "--directory", workingDirectory];
|
|
||||||
|
|
||||||
core.info("Activating python venv...");
|
core.info("Activating python venv...");
|
||||||
await exec.exec("uv", execArgs);
|
await exec.exec("uv", execArgs, options);
|
||||||
|
|
||||||
let venvBinPath = `${workingDirectory}${path.sep}.venv${path.sep}bin`;
|
let venvBinPath = ".venv/bin";
|
||||||
if (process.platform === "win32") {
|
if (process.platform === "win32") {
|
||||||
venvBinPath = `${workingDirectory}${path.sep}.venv${path.sep}Scripts`;
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(path.resolve(venvBinPath));
|
core.addPath(path.resolve(venvBinPath));
|
||||||
core.exportVariable(
|
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
||||||
"VIRTUAL_ENV",
|
|
||||||
path.resolve(`${workingDirectory}${path.sep}.venv`),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import * as core from "@actions/core";
|
|||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
|
|
||||||
export const version = core.getInput("version");
|
export const version = core.getInput("version");
|
||||||
|
export const pyProjectFile = core.getInput("pyproject-file");
|
||||||
|
export const uvFile = core.getInput("uv-file");
|
||||||
export const pythonVersion = core.getInput("python-version");
|
export const pythonVersion = core.getInput("python-version");
|
||||||
export const activateEnvironment = core.getBooleanInput("activate-environment");
|
|
||||||
export const workingDirectory = core.getInput("working-directory");
|
|
||||||
export const checkSum = core.getInput("checksum");
|
export const checkSum = core.getInput("checksum");
|
||||||
export const enableCache = getEnableCache();
|
export const enableCache = getEnableCache();
|
||||||
export const cacheSuffix = core.getInput("cache-suffix") || "";
|
export const cacheSuffix = core.getInput("cache-suffix") || "";
|
||||||
@@ -64,18 +64,12 @@ function getCacheLocalPath(): string {
|
|||||||
if (cacheLocalPathInput !== "") {
|
if (cacheLocalPathInput !== "") {
|
||||||
return expandTilde(cacheLocalPathInput);
|
return expandTilde(cacheLocalPathInput);
|
||||||
}
|
}
|
||||||
if (process.env.RUNNER_ENVIRONMENT === "github-hosted") {
|
|
||||||
if (process.env.RUNNER_TEMP !== undefined) {
|
if (process.env.RUNNER_TEMP !== undefined) {
|
||||||
return `${process.env.RUNNER_TEMP}${path.sep}setup-uv-cache`;
|
return `${process.env.RUNNER_TEMP}${path.sep}setup-uv-cache`;
|
||||||
}
|
}
|
||||||
throw Error(
|
throw Error(
|
||||||
"Could not determine UV_CACHE_DIR. Please make sure RUNNER_TEMP is set or provide the cache-local-path input",
|
"Could not determine UV_CACHE_DIR. Please make sure RUNNER_TEMP is set or provide the cache-local-path input",
|
||||||
);
|
);
|
||||||
}
|
|
||||||
if (process.platform === "win32") {
|
|
||||||
return `${process.env.APPDATA}${path.sep}uv${path.sep}cache`;
|
|
||||||
}
|
|
||||||
return `${process.env.HOME}${path.sep}.cache${path.sep}uv`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function expandTilde(input: string): string {
|
function expandTilde(input: string): string {
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import * as toml from "smol-toml";
|
|||||||
export function getUvVersionFromConfigFile(
|
export function getUvVersionFromConfigFile(
|
||||||
filePath: string,
|
filePath: string,
|
||||||
): string | undefined {
|
): string | undefined {
|
||||||
core.info(`Trying to find required-version for uv in: ${filePath}`);
|
core.debug(`Trying to find required-version for uv in: ${filePath}`);
|
||||||
if (!fs.existsSync(filePath)) {
|
if (!fs.existsSync(filePath)) {
|
||||||
core.info(`Could not find file: ${filePath}`);
|
core.warning(`Could not find file: ${filePath}`);
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
let requiredVersion: string | undefined;
|
let requiredVersion: string | undefined;
|
||||||
Reference in New Issue
Block a user