mirror of
https://github.com/kyverno/kyverno.git
synced 2025-01-20 18:52:16 +00:00
chore: cleanup codecov workflow (#5829)
* chore: cleanup codecov workflow Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> * chore: cleanup codecov workflow Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Co-authored-by: Sambhav Kothari <sambhavs.email@gmail.com>
This commit is contained in:
parent
0092f4aa0b
commit
ce4f87390f
3 changed files with 4 additions and 12 deletions
11
.github/workflows/codecov.yaml
vendored
11
.github/workflows/codecov.yaml
vendored
|
@ -10,28 +10,19 @@ on:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'release*'
|
- 'release*'
|
||||||
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
codecov:
|
codecov:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-latest]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
||||||
|
|
||||||
- name: Unshallow
|
- name: Unshallow
|
||||||
run: git fetch --prune --unshallow
|
run: git fetch --prune --unshallow
|
||||||
|
|
||||||
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
||||||
with:
|
with:
|
||||||
go-version: ~1.19.4
|
go-version: ~1.19.4
|
||||||
|
|
||||||
- name: Generate Code Coverage Report
|
- name: Generate Code Coverage Report
|
||||||
run: make code-cov-report
|
run: make code-cov-report
|
||||||
|
|
||||||
- name: Upload Report to Codecov
|
- name: Upload Report to Codecov
|
||||||
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
|
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70 # v3.1.1
|
||||||
with:
|
with:
|
||||||
|
|
4
.github/workflows/comment-commands.yaml
vendored
4
.github/workflows/comment-commands.yaml
vendored
|
@ -1,4 +1,5 @@
|
||||||
name: "Issue and PR comment commands"
|
name: Issue and PR comment commands
|
||||||
|
|
||||||
on:
|
on:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
types: [created, edited]
|
types: [created, edited]
|
||||||
|
@ -18,4 +19,3 @@ jobs:
|
||||||
/lgtm
|
/lgtm
|
||||||
/milestone'
|
/milestone'
|
||||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
1
.github/workflows/conformance.yaml
vendored
1
.github/workflows/conformance.yaml
vendored
|
@ -1,4 +1,5 @@
|
||||||
name: Conformance tests
|
name: Conformance tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Add table
Reference in a new issue