Skip to content

fix: repair failed import #4

fix: repair failed import

fix: repair failed import #4

name: "GitHub Action: Self-Test"
on:
push:
jobs:
setup-iggy:
name: Test setup-iggy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: yarn
- name: Build dist
run: yarn run build
- name: Setup iggy (using local GitHub Action)
uses: "./"
with:
version: "0.4.71"
- name: Print $PATH for iggy
run: which iggy-server
- name: Print iggy version
run: iggy-server --version
- name: Check version is the one asked
run: |
VERSION=$(iggy-server --version | grep -oP 'server \K[0-9]+\.[0-9]+\.[0-9]+')
if [ "$VERSION" != "0.4.71" ]; then
echo "Error: Expected version 0.4.71, but got $VERSION"
exit 1
fi
echo "Version is correct: $VERSION"