Skip to content

build(deps): bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 #2851

build(deps): bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4

build(deps): bump github.com/urfave/cli/v2 from 2.27.3 to 2.27.4 #2851

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
env:
GO_VERSION: "1.22"
PYTHON_VERSION: 3.9
GRPC_HEALTH_PROBE_VERSION: v0.4.13
jobs:
gomod:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Install tools
run: |
make tools
- name: Check go mod
run: |
make mod-tidy-check
make mod-vendor-check
- name: Check proto
run: |
make proto-check
- name: Check generate
run: |
make generate-check
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.59
skip-cache: true
skip-pkg-cache: true
build:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Build
run: make build
test:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Install grpc_health_probe
run: |
wget -qO${PWD}/bin/grpc-health-probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${{ env.GRPC_HEALTH_PROBE_VERSION }}/grpc_health_probe-linux-amd64
chmod +x ${PWD}/bin/grpc-health-probe
echo "${PWD}/bin" >> $GITHUB_PATH
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install pytest
run: |
pip install pytest
pip install pytest-cov
- name: Run unit tests with coverage profiling
run: |
make test_coverage TEST_FLAGS='-race -failfast -count=1 -timeout=20m'
- name: Run end-to-end tests with coverage profiling
run: |
make test_e2e_local_coverage TEST_FLAGS='-race -failfast -count=1 -timeout=20m'
- name: Generate coverage profile
run: |
make generate_coverage_profile
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out,./coverage.xml
fail_ci_if_error: true
verbose: true