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

Commit

Permalink
updates (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Jan 26, 2024
1 parent cd9278e commit 3dd9638
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
groups:
actions:
update-types:
- "minor"
- "patch"
16 changes: 3 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Add the following entry to your Github workflow YAML file:
```yaml
uses: cpanato/faas-cli-installer@main
with:
faas-cli-release: '0.14.1' # optional
faas-cli-release: '0.16.23' # optional
```

Example using a pinned version:
Expand All @@ -22,24 +22,14 @@ jobs:
test_cosign_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 Cosign and test presence in path
steps:
- name: Install faas-cli
uses: cpanato/faas-cli-installer@main
with:
faas-cli-release: '0.14.1'
faas-cli-release: '0.16.23' # optional
- name: Check install!
run: faas-cli version
```
Expand Down
8 changes: 4 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
faas-cli-release:
description: 'faas-cli release version to use in the actions.'
required: false
default: '0.14.1'
default: '0.16.23'
runs:
using: "composite"
steps:
Expand All @@ -18,8 +18,8 @@ runs:
trap "popd" EXIT
mkdir -p $HOME/.faas-cli
pushd $HOME/.faas-cli
bootstrap_version='0.14.1'
expected_bootstrap_version_digest='d34a40c7be087655068e6ec15ce211dfa8382ee2a3b82c60def1c6e026eb219c'
bootstrap_version='0.16.23'
expected_bootstrap_version_digest='1d369ee4037478825fec967367e3d14ee71ec95dae5fae7fcd61d6d6500b4179'
curl -L https://github.com/openfaas/faas-cli/releases/download/${bootstrap_version}/faas-cli -o faas-cli
shaBootstrap=$(sha256sum faas-cli | cut -d' ' -f1);
Expand Down Expand Up @@ -52,5 +52,5 @@ runs:
exit 1
fi
shell: bash
- run: echo "$HOME/.faas-cli" >> $GITHUB_PATH
- run: echo "$HOME/.faas-cli" >> $GITHUB_PATH
shell: bash

0 comments on commit 3dd9638

Please sign in to comment.