mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-07-10 00:51:09 +00:00
* Remove the `agent` directory * Use the new `kubeshark/hub` Docker image * Remove `Dockerfile` * Update `Makefile` * Fix linter * Change `api-server` suffix to `hub`
46 lines
874 B
YAML
46 lines
874 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
name: Linter
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
golint:
|
|
name: Golint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: '^1.17'
|
|
|
|
- name: Go lint - shared
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: latest
|
|
working-directory: shared
|
|
args: --timeout=10m
|
|
|
|
- name: Go lint - CLI
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: latest
|
|
working-directory: cli
|
|
args: --timeout=10m
|
|
|
|
- name: Go lint - logger
|
|
uses: golangci/golangci-lint-action@v2
|
|
with:
|
|
version: latest
|
|
working-directory: logger
|