mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
ci: add github workflows for static checks
adding a github workflow to run static checks inside a container. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
committed by
Madhu Rajanna
parent
11e1eda98b
commit
edf6abce99
15
.github/workflows/commitlint.yaml
vendored
Normal file
15
.github/workflows/commitlint.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: commitlint
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
commitlint:
|
||||
name: commitlint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: commitlint
|
||||
run: CONTAINER_CMD=docker make containerized-test TARGET=commitlint
|
15
.github/workflows/go-test.yaml
vendored
Normal file
15
.github/workflows/go-test.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: go-test
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
go-test:
|
||||
name: go-test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: go-test
|
||||
run: CONTAINER_CMD=docker make containerized-test TARGET=go-test
|
15
.github/workflows/golanci-lint.yaml
vendored
Normal file
15
.github/workflows/golanci-lint.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
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
|
15
.github/workflows/gosec.yaml
vendored
Normal file
15
.github/workflows/gosec.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: gosec
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
gosec:
|
||||
name: gosec
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: gosec
|
||||
run: CONTAINER_CMD=docker make containerized-test TARGET=gosec
|
15
.github/workflows/lint-extras.yaml
vendored
Normal file
15
.github/workflows/lint-extras.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: lint-extras
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
lint-extras:
|
||||
name: lint-extras
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: lint-extras
|
||||
run: CONTAINER_CMD=docker make containerized-test TARGET=lint-extras
|
15
.github/workflows/mod-check.yaml
vendored
Normal file
15
.github/workflows/mod-check.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
name: mod-check
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
jobs:
|
||||
mod-check:
|
||||
name: mod-check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: mod-check
|
||||
run: CONTAINER_CMD=docker make containerized-test TARGET=mod-check
|
Reference in New Issue
Block a user