Skip to content

Add srcenv --format usage example #160

Add srcenv --format usage example

Add srcenv --format usage example #160

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install ShellCheck
run: |
curl -Ls https://github.com/koalaman/shellcheck/releases/download/v0.10.0/shellcheck-v0.10.0.linux.x86_64.tar.xz | \
tar xJ --strip-components=1 shellcheck-v0.10.0/shellcheck
- name: Run ShellCheck
run: |
./shellcheck --color=always srcenv srcenv.benchmarks srcenv.tests srcenv.version && \
printf '\033[32m✔\033[0m ShellCheck\n'
- name: Install shells
run: |
sudo apt-get update
sudo apt-get install ash csh elvish fish ksh mksh tcsh zsh
echo /home/linuxbrew/.linuxbrew/bin >> "$GITHUB_PATH"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew update
brew install murex nushell
- name: Run srcenv tests
run: ./srcenv.tests