mirror of
https://github.com/kopia/kopia.git
synced 2026-03-28 02:53:05 -04:00
24 lines
498 B
YAML
24 lines
498 B
YAML
name: License Check
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [ master ]
|
|
jobs:
|
|
tests:
|
|
name: License Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go.
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: ^1.17
|
|
id: go
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Download dependencies
|
|
run: go mod vendor
|
|
- name: Run License Check
|
|
run: make license-check
|