Simplify test-checksum

This commit is contained in:
Kevin Stillhammer 2025-03-18 19:16:59 +01:00
parent ea0923d62b
commit fc0e3d1add
No known key found for this signature in database

View file

@ -106,16 +106,12 @@ jobs:
env: env:
UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }} UV_VERSION: ${{ steps.setup-uv.outputs.uv-version }}
test-checksum: test-checksum:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.inputs.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] inputs:
checksum: - os: ubuntu-latest
["4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"]
exclude:
- os: macos-latest
checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd" checksum: "4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd"
include:
- os: macos-latest - os: macos-latest
checksum: "a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218" checksum: "a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218"
steps: steps:
@ -124,7 +120,7 @@ jobs:
uses: ./ uses: ./
with: with:
version: "0.3.2" version: "0.3.2"
checksum: ${{ matrix.checksum }} checksum: ${{ matrix.inputs.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: