Skip to content

Bump github.com/cli/go-gh/v2 from 2.6.0 to 2.7.0 #47

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

Bump github.com/cli/go-gh/v2 from 2.6.0 to 2.7.0 #47

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.21'
check-latest: 'true'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
# 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