Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
use git hash for actions (#3)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato authored Jan 26, 2024
1 parent 59fd2c9 commit b19d317
Showing 1 changed file with 7 additions and 36 deletions.
43 changes: 7 additions & 36 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,10 @@ on: [pull_request]
jobs:
test_faas_cli_action:
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
permissions: {}
name: Install faas-cli and test presence in path
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install faas-cli
uses: ./
- name: Check install!
Expand All @@ -34,20 +24,11 @@ jobs:
test_faas_cli_action_custom:
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
permissions: {}

name: Install Custom faas-cli and test presence in path
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install faas-cli
uses: ./
with:
Expand All @@ -65,20 +46,10 @@ jobs:
test_faas_cli_action_wrong:
runs-on: ubuntu-latest
permissions:
actions: none
checks: none
contents: none
deployments: none
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
permissions: {}
name: Try to install a wrong Cosign
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install faas-cli
uses: ./
with:
Expand Down

0 comments on commit b19d317

Please sign in to comment.