diff options
-rw-r--r-- | .github/dependabot.yml | 12 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 7 | ||||
-rw-r--r-- | .licenserc.json | 8 |
3 files changed, 27 insertions, 0 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..86253f8 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: daily + # Disable the pull request limit for dependabot + open-pull-requests-limit: 0 +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc060ac..df1c5c0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -138,6 +138,12 @@ jobs: run: pip install gitlint - run: gitlint --commits $(git merge-base origin/master HEAD).. + license: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Check License Lines + uses: kt3k/license_checker@v1.0.6 ci: name: CI if: ${{ success() }} @@ -148,6 +154,7 @@ jobs: - deny - doc - fmt + - license - test runs-on: ubuntu-latest steps: diff --git a/.licenserc.json b/.licenserc.json new file mode 100644 index 0000000..a59891d --- /dev/null +++ b/.licenserc.json @@ -0,0 +1,8 @@ +{ + "**/*.rs": [ + "This Source Code Form is subject to the terms of the Mozilla Public", + "License, v. 2.0. If a copy of the MPL was not distributed with this", + "file, You can obtain one at http://mozilla.org/MPL/2.0/." + ] +} + |