use helper function for UserSignup creation in signup unit tests (#494) #288
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: operator-cd | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- '*.*' | |
env: | |
GOPATH: /tmp/go | |
jobs: | |
binary: | |
name: Build & push a new operator release | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles ('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Prepare tools | |
uses: codeready-toolchain/toolchain-cicd/prepare-tools-action@master | |
- name: Release operator | |
uses: codeready-toolchain/toolchain-cicd/release-operator-action@master | |
with: | |
quay-token: ${{ secrets.QUAY_TOKEN }} | |
quay-namespace: codeready-toolchain |