Skip to content

add inso cli compatibility job #2

add inso cli compatibility job

add inso cli compatibility job #2

name: Inso CLI macos compatibility
on:
merge_group:
workflow_dispatch:
push:
branches:
- develop
pull_request:
types:
- opened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12, macos-13, macos-14, macos-11]
url: [
'https://github.com/Kong/insomnia/releases/download/v9.3.0-alpha.0-experimental/inso-macos-13-9.3.0-alpha.0.zip',
'https://github.com/Kong/insomnia/releases/download/v9.3.0-alpha.0-experimental/inso-macos-latest-9.3.0-alpha.0.zip',
'https://github.com/Kong/insomnia/releases/download/lib%409.2.0/inso-macos-9.2.0.zip'
]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download Inso ZIP file
run: curl -L -o inso.zip ${{ matrix.url }}
- name: Unzip Inso
run: unzip inso.zip -d inso
- name: List files to verify unzip
run: ls inso
- name: Make Inso executable
run: chmod +x inso/inso
- name: Run Inso
run: ./inso/inso --version