summaryrefslogtreecommitdiffstats
path: root/.github/workflows/compliance.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/compliance.yml')
-rw-r--r--.github/workflows/compliance.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/compliance.yml b/.github/workflows/compliance.yml
new file mode 100644
index 0000000..c094754
--- /dev/null
+++ b/.github/workflows/compliance.yml
@@ -0,0 +1,20 @@
+name: Compliance
+on:
+ push:
+ branches:
+ - master
+ pull_request: {}
+
+jobs:
+ licenses:
+ runs-on: ubuntu-latest
+ steps:
+ - run: sudo apt install -y moreutils
+
+ - uses: actions/setup-go@v2
+ with:
+ go-version: 1.18.x
+
+ - uses: actions/checkout@v2
+
+ - run: .github/workflows/compliance/check-licenses.sh