VictoriaMetrics/.github/workflows/check-licenses.yml
Artem Navoiev c687536956
Add vendor license checker, update codecov action, add dependbot for … (#1280)
* Add vendor license checker, update codecov action, add dependbot for github actions

* update gitingore, temprorary turn on check

* fix action name

* change action rules to trigger only when vendor changes

* remove obsolete line from main action
2021-05-10 11:38:56 +03:00

26 lines
510 B
YAML

name: license-check
on:
push:
paths:
- 'vendor'
pull_request:
paths:
- 'vendor'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Setup Go
uses: actions/setup-go@main
with:
go-version: 1.16
id: go
- name: Dependencies
run: |
go get -u github.com/frapposelli/wwhrd
- name: Code checkout
uses: actions/checkout@master
- name: Check License
run: |
wwhrd check