ci(test): update install ksh #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
permissions: read-all | |
jobs: | |
build: | |
name: Perform check | |
runs-on: ubuntu-latest | |
if: github.repository == 'BarudakRosul/shell-compiler' | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install package | |
run: | | |
bash install.sh | |
sudo apt install zsh ksh mksh -y | |
- name: Check version openssl and list | |
run: | | |
openssl version | |
openssl | |
- name: Check syntax code | |
run: | | |
bash -n shell-compiler.sh | |
bash -n tests/* | |
- name: Testing code for encryption | |
run: bash tests/encryption.test.sh |