diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..123014908 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml new file mode 100644 index 000000000..ce272b70d --- /dev/null +++ b/.github/workflows/check-licenses.yml @@ -0,0 +1,26 @@ +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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f75a7ef1b..ff8bf995a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,7 +60,7 @@ jobs: GOOS=darwin go build -mod=vendor ./app/vmctl CGO_ENABLED=0 GOOS=windows go build -mod=vendor ./app/vmagent - name: Publish coverage - uses: codecov/codecov-action@v1.0.6 + uses: codecov/codecov-action@v1.5.0 with: file: ./coverage.txt diff --git a/.gitignore b/.gitignore index ba509278a..3e4d0d2a3 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /package/temp-rpm-* /package/*.deb /package/*.rpm +.DS_store diff --git a/.wwhrd.yml b/.wwhrd.yml new file mode 100644 index 000000000..5afba720d --- /dev/null +++ b/.wwhrd.yml @@ -0,0 +1,7 @@ +blacklist: + - GPL-2.0 +whitelist: + - Apache-2.0 + - MIT + - BSD-3-Clause + - BSD-2-Clause