Skip to content

Add a catalog-info.yaml file for Backstage #148

Add a catalog-info.yaml file for Backstage

Add a catalog-info.yaml file for Backstage #148

Workflow file for this run

name: test
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: read
env:
GOPROXY: https://proxy.golang.org/
jobs:
copywrite:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: Checkout Repo
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install copywrite
uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
- name: Validate Header Compliance
run: copywrite headers --plan
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
go:
- "1.18"
- "1.19"
- "1.20"
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go }}
- name: Go mod download
run: go mod download -x
- name: Go mod verify
run: go mod verify
- name: Run tests
run: go test -v ./...