Skip to content

update codecov-action to v4 #88

update codecov-action to v4

update codecov-action to v4 #88

Workflow file for this run

name: Lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.19
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Install depends
run: sudo apt install -y --no-install-recommends clang llvm libbpf0 libbpf-dev musl musl-dev gcc-multilib
- name: Generate
run: make generate
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
only-new-issues: true
args: --no-config -E lll -E gocyclo