Skip to content

chore(deps): Bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 #341

chore(deps): Bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0

chore(deps): Bump github.com/gin-gonic/gin from 1.9.1 to 1.10.0 #341

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Action
permissions: {}
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
default:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Install kyverno-json and test presence in path
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: ./.github/actions/install
- name: Check install
run: kyverno-json version
- name: Check root directory
shell: bash
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'should be clean'
exit 1
else
exit 0
fi
verify:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Install kyverno-json with cosign verification and test presence in path
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install Cosign
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3.5.0
- name: Install kyverno-json
uses: ./.github/actions/install
with:
verify: true
- name: Check install
run: kyverno-json version
- name: Check root directory
shell: bash
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'should be clean'
exit 1
else
exit 0
fi
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Install kyverno-json and test presence in path from GitHub
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: kyverno/kyverno-json/.github/actions/install@main
- name: Check install
run: kyverno-json version
- name: Check root directory
shell: bash
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'should be clean'
exit 1
else
exit 0
fi
custom:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Install kyverno-json and test presence in path
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: ./.github/actions/install
with:
release: v0.0.1
- name: Check install
run: kyverno-json version
- name: Check root directory
shell: bash
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'should be clean'
exit 1
else
exit 0
fi
wrong_version:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Try to install a wrong version
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: ./.github/actions/install
with:
release: honk
continue-on-error: true
custom_dir:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
permissions: {}
name: Install kyverno-json and test presence in path
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: ./.github/actions/install
with:
install-dir: "$HOME/.kyverno-jsontest"
- name: Check install
run: kyverno-json version
- name: Check install dir
shell: bash
run: |
[[ $(dirname "$(which kyverno-json)") == "$HOME/.kyverno-jsontest" ]]
- name: Check root directory
shell: bash
run: |
[[ -z $(git diff --stat) ]]
custom_dir_root:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
permissions: {}
name: Install kyverno-json and test presence in path with custom root dir
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Install kyverno-json
uses: ./.github/actions/install
with:
install-dir: /usr/bin
use-sudo: true
- name: Check install
run: kyverno-json version
- name: Check install dir
shell: bash
run: |
[[ $(dirname "$(which kyverno-json)") == /usr/bin ]]
- name: Check root directory
shell: bash
run: |
[[ -z $(git diff --stat) ]]
main:
permissions: {}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
go_version:
- '1.21'
name: Try to install with go ${{ matrix.go_version }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ matrix.go_version }}
check-latest: true
- name: Install kyverno-json
uses: ./.github/actions/install
with:
release: main
- name: Check install
run: kyverno-json version
# required:
# needs:
# - default
# - verify
# - release
# - custom
# - wrong_version
# - custom_dir
# - custom_dir_root
# - main
# runs-on: ubuntu-latest
# steps:
# - run: echo "Required jobs success!"