This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Bump actions/checkout from 4.1.2 to 4.1.3 in the actions group #5
Workflow file for this run
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-faas-cli | |
on: [pull_request] | |
jobs: | |
test_faas_cli_action: | |
runs-on: ubuntu-latest | |
permissions: {} | |
name: Install faas-cli and test presence in path | |
steps: | |
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Install faas-cli | |
uses: ./ | |
- name: Check install! | |
run: faas-cli version | |
- name: Check root directory | |
run: | | |
if [[ $(git diff --stat) != '' ]]; then | |
echo 'should be clean' | |
exit 1 | |
else | |
exit 0 | |
fi | |
test_faas_cli_action_custom: | |
runs-on: ubuntu-latest | |
permissions: {} | |
name: Install Custom faas-cli and test presence in path | |
steps: | |
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Install faas-cli | |
uses: ./ | |
with: | |
faas-cli-release: '0.13.15' | |
- name: Check install! | |
run: faas-cli version | |
- name: Check root directory | |
run: | | |
if [[ $(git diff --stat) != '' ]]; then | |
echo 'should be clean' | |
exit 1 | |
else | |
exit 0 | |
fi | |
test_faas_cli_action_wrong: | |
runs-on: ubuntu-latest | |
permissions: {} | |
name: Try to install a wrong Cosign | |
steps: | |
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Install faas-cli | |
uses: ./ | |
with: | |
faas-cli-release: 'honk' | |
continue-on-error: true |