Skip to content

Bump actions/setup-go from 5.0.2 to 5.1.0 #97

Bump actions/setup-go from 5.0.2 to 5.1.0

Bump actions/setup-go from 5.0.2 to 5.1.0 #97

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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '1.22'
check-latest: 'true'
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.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