forked from LaconicNetwork/kompose
* fix: update kubernetes unit tests * fix: check whether selectors are present or not * fix: update golang-lint yaml file * fix: downgrade the version of fsouza go docker-client
22 lines
576 B
YAML
22 lines
576 B
YAML
name: golangci-lint
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
golangci:
|
|
strategy:
|
|
matrix:
|
|
go: [1.16, 1.17]
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ matrix.go }}
|
|
- uses: actions/checkout@v2
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
|
version: v1.29
|
|
args: --timeout 5m
|