Skip to content

Enable cancel-in-progress in ci #1987

Enable cancel-in-progress in ci

Enable cancel-in-progress in ci #1987

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'main'
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
cache-version: 1
jobs:
build:
name: Build binaries
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
- run: make release-build
test:
name: Small tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
- run: make test
- run: make check-generate
- run: make envtest