Skip to content

chore(deps): update codecov/codecov-action action to v4 - autoclosed #243

chore(deps): update codecov/codecov-action action to v4 - autoclosed

chore(deps): update codecov/codecov-action action to v4 - autoclosed #243

Workflow file for this run

name: go
on:
pull_request:
paths:
- 'contents/kubernetes-operator/**.go'
- .github/workflows/go.yml
- '**go**'
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: setup go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: test
run: go test -coverprofile="coverage.txt" -covermode=atomic ./...
working-directory: contents/kubernetes-operator
- name: coverage
uses: codecov/codecov-action@v4
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
go_version_file: go.mod