Skip to content

debug: fix exit code #122

debug: fix exit code

debug: fix exit code #122

Workflow file for this run

name: docker-compose-test
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: render-checksec
run: |
pip install pre-commit
mkdir ${HOME}/bin
curl -Lo ${HOME}/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.4.0/shfmt_v3.4.0_linux_amd64
chmod +x ${HOME}/bin/shfmt
export PATH=${PATH}:${HOME}/bin
pre-commit run --all-files
git status
if [[ ! -z $(git status --porcelain) ]]; then
echo "source file differs, checksec needs build"
exit 1
fi
- name: ubuntu checksec
run: docker-compose run checksec-ubuntu
- name: photon checksec
run: docker-compose run checksec-photon