Skip to content

Update README.md

Update README.md #5

Workflow file for this run

name: Test cache-pixi-lock action
on:
push:
branches: [main, test-me/*]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
PIXI_VERSION: "v0.63.0"
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
cache-frequency: [daily, weekly, monthly]
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
path: create-pixi-lock
- name: Copy test files to working directory
shell: bash
run: cp -r create-pixi-lock/ci/test/* .
- name: Run create-pixi-lock action
uses: ./create-pixi-lock
with:
cache-frequency: ${{ matrix.cache-frequency }}
pixi-version: ${{ env.PIXI_VERSION }}
- name: Verify pixi.lock exists
shell: bash
run: |
if [ -f "pixi.lock" ]; then
echo "pixi.lock exists"
else
echo "pixi.lock does not exist"
exit 1
fi
- name: Setup pixi and install environment
uses: prefix-dev/setup-pixi@v0.9.3
with:
pixi-version: ${{ env.PIXI_VERSION }}
- name: Verify environment installed
shell: bash
run: |
if [ -d ".pixi/envs/default" ]; then
echo "Environment installed successfully"
else
echo "Environment not installed"
exit 1
fi