Skip to content

Debug failing test

Debug failing test #27

Workflow file for this run

name: Test Action
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test-action:
name: Test RunsOn CLI Action
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup RunsOn CLI (latest)
uses: ./
with:
version: latest
- name: Verify CLI is installed
shell: bash
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
roc.exe version
else
roc version
fi
- name: Test with specific version
uses: ./
with:
version: v0.1.7
- name: Verify specific version
shell: bash
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
roc.exe version
else
roc version
fi
- name: Lint test runs-on.yml
shell: bash
run: |
if [[ "$RUNNER_OS" == "Windows" ]]; then
roc.exe lint test/runs-on.yml
else
roc lint test/runs-on.yml
fi