mirror of https://github.com/rancher/wrangler.git
29 lines
652 B
YAML
29 lines
652 B
YAML
name: Wrangler CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- 'release-*'
|
|
- 'master'
|
|
|
|
jobs:
|
|
ci:
|
|
strategy:
|
|
matrix:
|
|
arch:
|
|
- amd64
|
|
- arm64
|
|
runs-on: org-${{ github.repository_owner_id }}-${{ matrix.arch }}-k8s
|
|
container: registry.suse.com/bci/golang:1.22
|
|
steps:
|
|
- name : Checkout repository
|
|
# https://github.com/actions/checkout/releases/tag/v4.1.1
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
- name : Install mockgen
|
|
run: go install -v -x go.uber.org/mock/mockgen@v0.4.0
|
|
- name : Run CI
|
|
run: bash scripts/ci
|