Skip to content

Commit fcc3270

Browse files
eddietejedaclaude
andauthored
ci: pin action SHAs, add permissions, and add Python 3.14 to matrix (#6)
Address review nits from #5: - Pin actions/checkout and astral-sh/setup-uv to commit SHAs (consistent with publish.yml, eliminates mutable-tag supply-chain risk) - Add top-level permissions: contents: read (least privilege, matches publish.yml) - Add Python 3.14 to test matrix (matches pyproject.toml classifiers) Co-authored-by: Eddie A Tejeda <669988+eddietejeda@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 5633b1c commit fcc3270

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,23 @@ concurrency:
1010
group: ci-${{ github.ref }}
1111
cancel-in-progress: true
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
test:
1518
name: Test (Python ${{ matrix.python-version }})
1619
runs-on: ubuntu-latest
1720
strategy:
1821
fail-fast: false
1922
matrix:
20-
python-version: ["3.10", "3.11", "3.12", "3.13"]
23+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
2124

2225
steps:
23-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2427

2528
- name: Install uv
26-
uses: astral-sh/setup-uv@v5
29+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5
2730
with:
2831
enable-cache: true
2932

0 commit comments

Comments
 (0)