Skip to content

Bump github.com/cli/go-gh/v2 from 2.9.0 to 2.11.0 #328

Bump github.com/cli/go-gh/v2 from 2.9.0 to 2.11.0

Bump github.com/cli/go-gh/v2 from 2.9.0 to 2.11.0 #328

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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # 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@604373da6381bf24206979c74d06a550515601b9 # v4.4.1
with:
name: catalog-cd-bin
path: catalog-cd