reconfigure local caddy #2056
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ---------------------------------------------------------------------------- | |
| # Copyright (C) 2021-2022 Deepchecks (https://www.deepchecks.com) | |
| # | |
| # This file is part of Deepchecks. | |
| # Deepchecks is distributed under the terms of the GNU Affero General | |
| # Public License (version 3 or later). | |
| # You should have received a copy of the GNU Affero General Public License | |
| # along with Deepchecks. If not, see <http://www.gnu.org/licenses/>. | |
| # ---------------------------------------------------------------------------- | |
| # | |
| name: License Check | |
| env: | |
| DISABLE_DEEPCHECKS_ANONYMOUS_TELEMETRY: "true" | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DEEPCHECKS_CI_TOKEN: ${{ secrets.DEEPCHECKS_CI_TOKEN }} | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| backend-license-check: | |
| runs-on: ubuntu-latest | |
| if: "!github.event.pull_request.draft" | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: 3.11 | |
| - name: Get explicit and transitive dependencies | |
| run: | | |
| pip install -U pip==25.1.1 setuptools==80.9.0 | |
| pip install -q -r backend/requirements.txt | |
| - name: Set up liccheck | |
| run: pip install liccheck | |
| - name: Run liccheck | |
| run: python -m liccheck -r backend/requirements.txt -s liccheck.ini | |
| frontend-license-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 16 | |
| - run: npm install --production=false | |
| working-directory: ./frontend | |
| - run: ./node_modules/license-checker/bin/license-checker --production --onlyAllow "MIT;ISC;BSD;Apache-2.0;Python-2.0;CC0-1.0;Unlicense;CC-BY-4.0" --excludePackages "[email protected];[email protected];[email protected];@mapbox/[email protected];[email protected]" --summary --excludePrivatePackages | |
| working-directory: ./frontend | |
| # axe-core is MPL-2.0 https://www.npmjs.com/package/axe-core | |
| # caniuse-lite is CC-BY-4.0 https://github.com/browserslist/caniuse-lite/blob/main/LICENSE | |
| # lz-string is WTFPL (MIT) https://github.com/pieroxy/lz-string/blob/master/LICENSE | |
| # @mapbox/jsonlint-lines-primitives is MIT https://github.com/tmcw/jsonlint | |
| # gl-mat is zlib license |