mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
27 lines
510 B
YAML
27 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
|