Skip to content

Bump cryptography from 42.0.4 to 43.0.1 (#602) #757

Bump cryptography from 42.0.4 to 43.0.1 (#602)

Bump cryptography from 42.0.4 to 43.0.1 (#602) #757

Workflow file for this run

# This workflow tests github action feature and integration
name: ActionTest
on:
push:
branches: [ main ]
jobs:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
ActionTest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: CredSweeper test
# TODO: change @action to release point with the action
uses: Samsung/CredSweeper@main
with:
# args - arguments to credsweeper tool. See default values in action.yml
args: --path ./tests/samples/ --save-json
- name: Prepare commit status
run: |
ITEMS_CNT=$(jq '. | length' output.json)
if [ 1 -lt ${ITEMS_CNT} ]; then
echo "Samples were successfully scanned"
else
echo "Unexpected items: ${ITEMS_CNT}"
exit 1
fi
- name: CredSweeper report
if: always()
uses: actions/upload-artifact@v4
with:
name: output.json
path: output.json
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #