mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-30 02:00:19 +00:00
edf6abce99
adding a github workflow to run static checks inside a container. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
16 lines
326 B
YAML
16 lines
326 B
YAML
---
|
|
name: golangci-lint
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
jobs:
|
|
golangci-lint:
|
|
name: golangci-lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: golangci-lint
|
|
run: CONTAINER_CMD=docker make containerized-test TARGET=go-lint
|