Skip to content

Add GitHub Actions workflow config #10

Add GitHub Actions workflow config

Add GitHub Actions workflow config #10

Workflow file for this run

name: ci.yml
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch: # Allows manual triggering
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false # Continue testing other platforms even if one fails
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Display environment
run: |
echo "Runner OS: ${{ runner.os }}"
echo "Matrix OS: ${{ matrix.os }}"
if command -v uname >/dev/null 2>&1; then
echo "System: $(uname -a)"
fi
echo "Shell: $0"
echo "Working directory: $(pwd)"
echo "User: $(whoami)"
- name: Run: ./ff-test

Check failure on line 34 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 34
run: ./ff-test
shellcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install shellcheck
run: |
sudo apt-get update
sudo apt-get install --assume-yes --no-install-recommends shellcheck
- name: Run shellcheck
run: shellcheck --shell=sh ./ff ./ff-test