Skip to content

Bump github.com/cli/go-gh/v2 from 2.5.0 to 2.6.0 #31

Bump github.com/cli/go-gh/v2 from 2.5.0 to 2.6.0

Bump github.com/cli/go-gh/v2 from 2.5.0 to 2.6.0 #31

name: use setup-catalog-cd action
on:
push:
branches:
- 'main'
jobs:
use-action:
name: Use Action
strategy:
matrix:
platform:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.20'
check-latest: 'true'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# Minimal publish
- uses: openshift-pipelines/catalog-cd/actions/setup-catalog-cd@main
- run: catalog-cd version
- name: Install v0.1.2 release
uses: openshift-pipelines/catalog-cd/actions/setup-catalog-cd@main
with:
version: v0.1.2
- name: Check installed version
run: catalog-cd version | grep 0.1.2
- name: Install from tip
uses: openshift-pipelines/catalog-cd/actions/setup-catalog-cd@main
with:
version: tip
- name: Check installed version (tip)
run: |
sudo rm /usr/local/bin/catalog-cd # Uninstall previous versions.
catalog-cd version