mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
221dd3a224
This is needed because some dependencies uses generics, which have been appeared in Go1.18
This is a follow-up for caf3dd4fa2
26 lines
458 B
YAML
26 lines
458 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.18
|
|
id: go
|
|
- name: Code checkout
|
|
uses: actions/checkout@master
|
|
- name: Check License
|
|
run: |
|
|
make check-licenses
|