Skip to content

Fix attempt GitHub workflow to skip display environment #12

Fix attempt GitHub workflow to skip display environment

Fix attempt GitHub workflow to skip display environment #12

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
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