Skip to content

Merge pull request #22 from aaronhmiller/add-custom-flow #92

Merge pull request #22 from aaronhmiller/add-custom-flow

Merge pull request #22 from aaronhmiller/add-custom-flow #92

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- name: Run the app
run: docker-compose up -d
- name: Test app
run: |
NAME=$(docker run --network crud-app_default saltaaron/just-httpie GET crud-app:3000/users/1 | docker run -i --network crud-app_default saltaaron/just-jq -r '.[].name')
if [ $NAME != 'Marcia' ] ; then
echo "The expected name was not returned. $NAME was returned instead."
exit 1;
fi
- name: Test TLS
run: |
NAME=$(docker run --network crud-app_default saltaaron/just-httpie GET https://crud-app:3443/users/2 --verify no | docker run -i --network crud-app_default saltaaron/just-jq -r '.[].name')
if [ $NAME != 'Amy' ] ; then
echo "The expected name was not returned. $NAME was returned instead."
exit 1;
fi
- name: Run CUSTOMIZED OX Security Scan to check for vulnerabilities
# - name: Run OX Security Scan to check for vulnerabilities
with:
ox_api_key: ${{ secrets.OX_API_KEY }}
ox_timeout: 1
ox_fail_on_timeout: true
run: ./custom-ox.sh

Check failure on line 38 in .github/workflows/ci-test.yaml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci-test.yaml (Line: 38, Col: 7): Unexpected value 'run' .github/workflows/ci-test.yaml (Line: 32, Col: 7): Required property is missing: uses
# uses: oxsecurity/ox-security-scan@main