[IGNORE] enable ci (#6) #3
This file contains 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: ci | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
- snapshot/* | |
tags: | |
- v* | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.ref_name != 'main' }} | |
jobs: | |
build: | |
name: "go and github release" | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
env: | |
# This env is required for the docker manifest command to work | |
DOCKER_CLI_EXPERIMENTAL: "enabled" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: perses/[email protected] | |
- uses: ./.github/perses-ci/actions/setup_environment | |
with: | |
enable_go: true | |
- name: Build operator | |
run: make build |