"Fossies" - the Fresh Open Source Software Archive

Member "AdGuardHome-0.104.3/.github/workflows/lint.yml" (19 Nov 2020, 1353 Bytes) of package /linux/misc/dns/AdGuardHome-0.104.3.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "lint.yml": 0.104.1_vs_0.104.3.

    1 name: golangci-lint
    2 on:
    3   push:
    4     tags:
    5       - v*
    6     branches:
    7       - '*'
    8   pull_request:
    9 jobs:
   10   golangci:
   11     runs-on: ubuntu-latest
   12     steps:
   13       - uses: actions/checkout@v2
   14       - name: golangci-lint
   15         uses: golangci/golangci-lint-action@v2.3.0
   16         with:
   17           # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
   18           version: v1.32
   19 
   20   eslint:
   21     runs-on: ubuntu-latest
   22     steps:
   23       - uses: actions/checkout@v2
   24       - name: Install modules
   25         run: npm --prefix client ci
   26       - name: Run ESLint
   27         run: npm --prefix client run lint
   28 
   29 
   30   notify:
   31     needs: [golangci,eslint]
   32     # Secrets are not passed to workflows that are triggered by a pull request from a fork
   33     if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
   34     runs-on: ubuntu-latest
   35     steps:
   36       -
   37         name: Conclusion
   38         uses: technote-space/workflow-conclusion-action@v1
   39       -
   40         name: Send Slack notif
   41         uses: 8398a7/action-slack@v3
   42         with:
   43           status: ${{ env.WORKFLOW_CONCLUSION }}
   44           fields: repo,message,commit,author
   45         env:
   46           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
   47           SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}