Skip to content

Bump github.com/cli/go-gh/v2 from 2.11.1 to 2.12.0 #377

Bump github.com/cli/go-gh/v2 from 2.11.1 to 2.12.0

Bump github.com/cli/go-gh/v2 from 2.11.1 to 2.12.0 #377

Workflow file for this run

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
permissions:
contents: read
name: build-test
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: 1.22.x
- run: go env
- name: go lint
run: make lint-go
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: 1.22.x
- run: go env
- name: go build
run: go build -v ./...
- name: go test
run: go test -v ./...
- name: build catalog-cd
run: go build -o catalog-cd -v .
- name: Upload catalog-cd binary
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: catalog-cd-bin
path: catalog-cd