Skip to content

feat: Add methods for Idempotence Identifiers API #511

feat: Add methods for Idempotence Identifiers API

feat: Add methods for Idempotence Identifiers API #511

Workflow file for this run

name: Build, Lint, and Test
env:
EXPORT_RESULT: true
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/golangci-lint
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install devbox
uses: jetify-com/[email protected]
with:
enable-cache: "true"
- name: Run golangci-lint
run: devbox run -- make lint-go
- name: Check YAML linting
run: devbox run -- make lint-yaml
- name: Check Kubebuilder Annotation linting
run: devbox run -- make lint-kubebuilder
- name: Prepare coverage report
run: devbox run -- make coverage
- name: Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.out # Replace with the path to your coverage report
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}