Skip to content

Commit c0e2c5a

Browse files
authored
fix: uv version pin and caching (#496)
Also cancel in progress ci and linting with new pushes Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent e341f0a commit c0e2c5a

4 files changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232

3333
- name: Install uv
3434
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
35+
with:
36+
version: "0.10.9"
37+
enable-cache: true
3538

3639
- name: Set up Python
3740
run: uv python install 3.14

.github/workflows/python-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
pull_request:
1111
branches: [main]
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
permissions:
1418
contents: read
1519

@@ -25,6 +29,9 @@ jobs:
2529
persist-credentials: false
2630
- name: Install uv
2731
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
32+
with:
33+
version: "0.10.9"
34+
enable-cache: true
2835
- name: Set up Python ${{ matrix.python-version }}
2936
run: uv python install ${{ matrix.python-version }}
3037
- name: Install dependencies

.github/workflows/super-linter.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
pull_request:
66
branches: [main]
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
permissions:
913
contents: read
1014

@@ -25,6 +29,9 @@ jobs:
2529
persist-credentials: false
2630
- name: Install uv
2731
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
32+
with:
33+
version: "0.10.9"
34+
enable-cache: true
2835
- name: Install dependencies
2936
run: |
3037
uv sync --frozen

.github/workflows/update-uv-lock.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929

3030
- name: Install uv
3131
uses: astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
32+
with:
33+
version: "0.10.9"
34+
enable-cache: true
3235

3336
- name: Update uv.lock
3437
run: uv lock

0 commit comments

Comments
 (0)