Skip to content

porting from gitlab

porting from gitlab #1

Workflow file for this run

name: Test [Shell Scripts]
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ./apps/web/public/install
steps:
- name: Checkout
uses: actions/checkout@v3
- name: lint
if: matrix.os == 'macOS-latest'
run: |
brew install shfmt shellcheck
shfmt -d .
shellcheck -s sh *.sh
- name: tests shell
shell: bash
run: chmod a+x install_test.sh install.sh && ./install_test.sh
- name: tests powershell
if: matrix.os == 'windows-latest'
shell: powershell
run: ./install_test.ps1
- name: tests powershell core
if: matrix.os == 'windows-latest'
shell: pwsh
run: ./install_test.ps1