Skip to content

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim #4

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim

chore: drop ubuntu-latest from test matrices in favor of ubuntu-slim #4

Workflow file for this run

---
name: Test setup-uv
on:
workflow_call: ~
pull_request:
paths:
- setup-uv/**
- .github/workflows/test-setup-uv.yml
push:
branches:
- main
paths:
- setup-uv/**
- .github/workflows/test-setup-uv.yml
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-slim
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Run action
id: uv
uses: ./setup-uv
with:
# Nothing is installed with uv here, so there is nothing to cache.
enable-cache: "false"
- name: Verify uv
shell: bash
env:
UV_VERSION: ${{ steps.uv.outputs.uv-version }}
run: |
[ -n "$UV_VERSION" ]
[ "$(uv --version | cut -d' ' -f2)" = "$UV_VERSION" ]
uvx --version