mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
26 lines
460 B
YAML
26 lines
460 B
YAML
name: license-check
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'vendor'
|
|
pull_request:
|
|
paths:
|
|
- 'vendor'
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup Go
|
|
uses: actions/setup-go@main
|
|
with:
|
|
go-version: 1.20.0
|
|
id: go
|
|
- name: Code checkout
|
|
uses: actions/checkout@master
|
|
- name: Check License
|
|
run: |
|
|
make check-licenses
|