Compare commits

...

2 Commits

Author SHA1 Message Date
Kevin Stillhammer
3770ee1942 Rename repo org in examples and urls 2024-09-04 20:05:17 +02:00
github-actions[bot]
162b8acf39 chore: update checksums (#29)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-04 07:53:44 +02:00
5 changed files with 70 additions and 16 deletions

View File

@@ -31,9 +31,9 @@ You can also specify a specific version of uv
```yaml
- name: Install a specific version
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
version: '0.3.0'
version: '0.4.4'
```
### Install latest version
@@ -49,7 +49,7 @@ If you don't want to wait for a new release of this action you can use use `vers
```yaml
- name: Install a specific version
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
version: 'latest'
```
@@ -63,7 +63,7 @@ of the uv repo.
```yaml
- name: Install a specific version and validate the checksum
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
version: '0.3.1'
checksum: 'e11b01402ab645392c7ad6044db63d37e4fd1e745e015306993b07695ea5f9f8'
@@ -80,7 +80,7 @@ You can optionally define a custom cache key suffix.
```yaml
- name: Enable caching and define a custom cache key suffix
id: setup-uv
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
cache-suffix: 'optional-suffix'
@@ -102,7 +102,7 @@ you can specify the path with the `cache-local-path` input.
```yaml
- name: Define a custom uv cache path
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
cache-local-path: '/path/to/cache'
@@ -116,7 +116,7 @@ The glob matches files relative to the repository root.
```yaml
- name: Define a cache dependency glob
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'
@@ -124,7 +124,7 @@ The glob matches files relative to the repository root.
```yaml
- name: Define a cache dependency glob
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
cache-dependency-glob: '**requirements*.txt'
@@ -136,7 +136,7 @@ To avoid hitting the error `API rate limit exceeded` you can supply a GitHub tok
```yaml
- name: Install uv and supply a GitHub token
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```
@@ -159,7 +159,7 @@ A simple example workflow could look like this:
- name: Checkout the repository
uses: actions/checkout@main
- name: Install the latest version of uv
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
- name: Test
@@ -170,7 +170,7 @@ If you want to have a specific python version installed you can use the command
```yaml
- name: Install the latest version of uv
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
with:
enable-cache: true
- name: Install Python 3.12
@@ -189,12 +189,12 @@ If you have to know the version installed for other steps of your workflow you c
uses: actions/checkout@main
- name: Install the default version of uv
id: setup-uv
uses: eifinger/setup-uv@v1
uses: astral-sh/setup-uv@v1
- name: Print the installed version
run: echo "Installed uv version is ${{ steps.setup-uv.outputs.uv-version }}"
```
---
[<img src="https://raw.githubusercontent.com/eifinger/setup-uv/main/docs/images/bmc-button.svg" width=150 height=40 style="margin: 5px"/>](https://www.buymeacoffee.com/eifinger)
[<img src="https://raw.githubusercontent.com/eifinger/setup-uv/main/docs/images/paypal-button.svg" width=150 height=40 style="margin: 5px"/>](https://paypal.me/kevinstillhammer)
[<img src="https://raw.githubusercontent.com/astral-sh/setup-uv/main/docs/images/bmc-button.svg" width=150 height=40 style="margin: 5px"/>](https://www.buymeacoffee.com/eifinger)
[<img src="https://raw.githubusercontent.com/astral-sh/setup-uv/main/docs/images/paypal-button.svg" width=150 height=40 style="margin: 5px"/>](https://paypal.me/kevinstillhammer)

View File

@@ -4,7 +4,7 @@ author: 'eifinger'
inputs:
version:
description: 'The version of uv to install'
default: '0.4.3'
default: '0.4.4'
checksum:
description: 'The checksum of the uv version to install'
required: false

18
dist/setup/index.js generated vendored
View File

@@ -83845,6 +83845,24 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.KNOWN_CHECKSUMS = void 0;
// AUTOGENERATED_DO_NOT_EDIT
exports.KNOWN_CHECKSUMS = {
'undefined-0.4.4': '32746c58071378ae79d5965f546915cbe85e94845c87111d4209ec3437052cb6',
'aarch64-apple-darwin-0.4.4': '3d2e48f405023e0a1762ad66336fd4e615928343c90023972bf3418fa5c829ae',
'aarch64-unknown-linux-gnu-0.4.4': 'f6851b5ef48caa066284b5522d153c49d55c310672962e7d0d8f2f4afab4a9b2',
'aarch64-unknown-linux-musl-0.4.4': '803d1ec97d8b5a918d33f21673cf8183906d08c75acc0434fa15afb06b3dae9d',
'arm-unknown-linux-musleabihf-0.4.4': 'e1255b31c76764d67481b262d5d8dcf8e2b5d7bbfd46407267e3dd21bb1ee5c6',
'armv7-unknown-linux-gnueabihf-0.4.4': 'fbf8562f1a4fad1fcc030fb47621fee8935048ecc267919e9b1180b3e71f7b37',
'armv7-unknown-linux-musleabihf-0.4.4': '9af2bffbdc4d25538130c864e2e58c9108e2bb231e5fc4890c0ea2a9f52f3681',
'i686-pc-windows-msvc-0.4.4': '01ab40fb314e2a581023ecd727eccc153776cf97afbee5b921bd41110319642a',
'i686-unknown-linux-gnu-0.4.4': '9cc0ca4d7ad6b35a1c181d2f5751ad0c955c51b1cd62ce8237e652f46752f1b4',
'i686-unknown-linux-musl-0.4.4': '5397c1b4116fcc32c451dd0dca7114b58e78f952401bbf5d6279954b99d8c2aa',
'powerpc64-unknown-linux-gnu-0.4.4': '7830e971425323fc58fe2eab4e800cafd4f67e25ca71c6bf81c0be0612b27744',
'powerpc64le-unknown-linux-gnu-0.4.4': '79f047ef2860a5e2ec5751c88b39b83108da3d071b12433c1d48ff2d800c0a17',
'powerpc64le-unknown-linux-musl-0.4.4': 'bbdc878e609ccf1699b6e235bdde965bdd9ce60db34285aeef54276111e077ce',
's390x-unknown-linux-gnu-0.4.4': 'a541d3f1981eaa6f92cc982ae9b7a23983e0f28ff6dcc3076455e3a09132b2cf',
'x86_64-apple-darwin-0.4.4': '618f6745b2ed50560cb4491bc852f235c65cea88fc665dee83d1875596618c6f',
'x86_64-pc-windows-msvc-0.4.4': 'dc7ee57fb214eafc0d3f5d211e2432b80c98d707bcc36552fdc16a609192fd65',
'x86_64-unknown-linux-gnu-0.4.4': 'c7c0a6804538e083bcfbc49c2cecf07c5aaf9fc31fdcfb4449c787d3a40c980b',
'x86_64-unknown-linux-musl-0.4.4': 'a72c31f068323803485b6f3f878eda5e7d17383df675123b0e56c2bb6aeaa586',
'undefined-0.4.3': '05f11e1292e7bb7a6c6101990d04e8ab1e1ae0df2c58ee3c50b24751cac95554',
'aarch64-apple-darwin-0.4.3': 'e90719268e20a046ef23ad4d1a44e991876f6abe850147f7525901cdd28e799d',
'aarch64-unknown-linux-gnu-0.4.3': 'bd1239ef5d488e17d513ef98d24f56f3bedb7e41500a20f798fda5cf3c606801',

View File

@@ -17,7 +17,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/eifinger/setup-uv.git"
"url": "git+https://github.com/astral-sh/setup-uv.git"
},
"keywords": [
"actions",

View File

@@ -1,5 +1,41 @@
// AUTOGENERATED_DO_NOT_EDIT
export const KNOWN_CHECKSUMS: {[key: string]: string} = {
'undefined-0.4.4':
'32746c58071378ae79d5965f546915cbe85e94845c87111d4209ec3437052cb6',
'aarch64-apple-darwin-0.4.4':
'3d2e48f405023e0a1762ad66336fd4e615928343c90023972bf3418fa5c829ae',
'aarch64-unknown-linux-gnu-0.4.4':
'f6851b5ef48caa066284b5522d153c49d55c310672962e7d0d8f2f4afab4a9b2',
'aarch64-unknown-linux-musl-0.4.4':
'803d1ec97d8b5a918d33f21673cf8183906d08c75acc0434fa15afb06b3dae9d',
'arm-unknown-linux-musleabihf-0.4.4':
'e1255b31c76764d67481b262d5d8dcf8e2b5d7bbfd46407267e3dd21bb1ee5c6',
'armv7-unknown-linux-gnueabihf-0.4.4':
'fbf8562f1a4fad1fcc030fb47621fee8935048ecc267919e9b1180b3e71f7b37',
'armv7-unknown-linux-musleabihf-0.4.4':
'9af2bffbdc4d25538130c864e2e58c9108e2bb231e5fc4890c0ea2a9f52f3681',
'i686-pc-windows-msvc-0.4.4':
'01ab40fb314e2a581023ecd727eccc153776cf97afbee5b921bd41110319642a',
'i686-unknown-linux-gnu-0.4.4':
'9cc0ca4d7ad6b35a1c181d2f5751ad0c955c51b1cd62ce8237e652f46752f1b4',
'i686-unknown-linux-musl-0.4.4':
'5397c1b4116fcc32c451dd0dca7114b58e78f952401bbf5d6279954b99d8c2aa',
'powerpc64-unknown-linux-gnu-0.4.4':
'7830e971425323fc58fe2eab4e800cafd4f67e25ca71c6bf81c0be0612b27744',
'powerpc64le-unknown-linux-gnu-0.4.4':
'79f047ef2860a5e2ec5751c88b39b83108da3d071b12433c1d48ff2d800c0a17',
'powerpc64le-unknown-linux-musl-0.4.4':
'bbdc878e609ccf1699b6e235bdde965bdd9ce60db34285aeef54276111e077ce',
's390x-unknown-linux-gnu-0.4.4':
'a541d3f1981eaa6f92cc982ae9b7a23983e0f28ff6dcc3076455e3a09132b2cf',
'x86_64-apple-darwin-0.4.4':
'618f6745b2ed50560cb4491bc852f235c65cea88fc665dee83d1875596618c6f',
'x86_64-pc-windows-msvc-0.4.4':
'dc7ee57fb214eafc0d3f5d211e2432b80c98d707bcc36552fdc16a609192fd65',
'x86_64-unknown-linux-gnu-0.4.4':
'c7c0a6804538e083bcfbc49c2cecf07c5aaf9fc31fdcfb4449c787d3a40c980b',
'x86_64-unknown-linux-musl-0.4.4':
'a72c31f068323803485b6f3f878eda5e7d17383df675123b0e56c2bb6aeaa586',
'undefined-0.4.3':
'05f11e1292e7bb7a6c6101990d04e8ab1e1ae0df2c58ee3c50b24751cac95554',
'aarch64-apple-darwin-0.4.3':