Bump sigstore/cosign-installer from 3.6.0 to 3.7.0 #87
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-kubepug | |
on: | |
push: | |
pull_request: | |
jobs: | |
test_kubepug_action: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
permissions: {} | |
name: Install kubepug and test presence in path | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Install kubepug | |
uses: ./ | |
- name: Check install! | |
run: kubepug version | |
- name: Check root directory | |
run: | | |
if [[ $(git diff --stat) != '' ]]; then | |
echo 'should be clean' | |
exit 1 | |
else | |
exit 0 | |
fi | |
shell: bash | |
test_kubepug_action_custom_dir_root: | |
runs-on: ubuntu-latest | |
permissions: {} | |
name: Install Custom kubepug and test presence in path with custom root dir | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Install kubepug | |
uses: ./ | |
with: | |
install-dir: /usr/bin | |
use-sudo: true | |
- name: Check install! | |
run: kubepug version | |
- name: Check install dir! | |
run: | | |
[[ $(dirname "$(which kubepug)") == /usr/bin ]] | |
shell: bash | |
- name: Check root directory | |
run: | | |
[[ -z $(git diff --stat) ]] | |
shell: bash | |
test_kubepug_actionn_custom_dir: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
permissions: {} | |
name: Install Custom path kubepug and test presence in path | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Install kubepug | |
uses: ./ | |
with: | |
install-dir: "$HOME/.kubepugtest" | |
- name: Check install! | |
run: kubepug version | |
- name: Check install dir! | |
run: | | |
[[ $(dirname "$(which kubepug)") == "$HOME/.kubepugtest" ]] | |
shell: bash | |
- name: Check root directory | |
run: | | |
[[ -z $(git diff --stat) ]] | |
shell: bash | |
test_kubepug_action_wrong: | |
runs-on: ubuntu-latest | |
permissions: {} | |
name: Try to install a wrong kubepug | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Install kubepug | |
uses: ./ | |
with: | |
kubepug-release: 'honk' | |
continue-on-error: true |