Fixes for #1. #16
This file contains hidden or 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 the setup action | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
paths: | |
- .github/actions/setup/** | |
- .github/workflows/test-setup.yml | |
jobs: | |
setup-mend-cli: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Checkout mend-actions repository | |
uses: actions/checkout@v4 | |
with: | |
repository: carlspring/mend-actions | |
path: mend-actions | |
- name: Set up Mend CLI | |
uses: ./mend-actions/.github/actions/setup | |
- name: Check if Mend CLI is on the PATH | |
run: | | |
if ! command -v mend &> /dev/null | |
then | |
echo "Mend CLI could not be found on the PATH" | |
exit 1 | |
fi | |
- name: Run Mend.io Scan | |
run: mend version | |