Merge in DNS/adguard-home from upd-all to master
Squashed commit of the following:
commit fb5e87e0cb5617d031a2dac932304917722b1a89
Merge: af4ef937e 64994c7fc
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Fri Mar 7 18:30:39 2025 +0300
Merge branch 'master' into upd-all
commit af4ef937ee9ae1046cda083a4b0cb6b41ca3dc8c
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Fri Mar 7 12:50:48 2025 +0300
all: log changes, revert trackers
commit ca1197dc69bb845daa5ec3f25d58d995f3d330ef
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Thu Mar 6 19:33:24 2025 +0300
client: upd i18n
commit d6aa69668633afcabdf956a3e82b920077ddbc75
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Thu Mar 6 19:24:57 2025 +0300
client: upd vetted filters, companiesdb, blocked services
commit ed6f706c8eafe248b1e851bb0b123f1c46795414
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Thu Mar 6 19:20:32 2025 +0300
ipset: add bench results
commit 89c1fbe257163aebcddd1abf85b8e4d87536e0ef
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date: Thu Mar 6 19:14:34 2025 +0300
all: upd go, tools
66 lines
1.6 KiB
YAML
66 lines
1.6 KiB
YAML
'name': 'lint'
|
|
|
|
'env':
|
|
'GO_VERSION': '1.24.1'
|
|
|
|
'on':
|
|
'push':
|
|
'tags':
|
|
- 'v*'
|
|
'branches':
|
|
- '*'
|
|
'pull_request':
|
|
|
|
'jobs':
|
|
'go-lint':
|
|
'runs-on': 'ubuntu-latest'
|
|
'steps':
|
|
- 'uses': 'actions/checkout@v2'
|
|
- 'name': 'Set up Go'
|
|
'uses': 'actions/setup-go@v3'
|
|
'with':
|
|
'go-version': '${{ env.GO_VERSION }}'
|
|
- 'name': 'run-lint'
|
|
'run': >
|
|
make go-deps go-tools go-lint
|
|
|
|
'eslint':
|
|
'runs-on': 'ubuntu-latest'
|
|
'steps':
|
|
- 'uses': 'actions/checkout@v2'
|
|
- 'name': 'Install modules'
|
|
'run': 'npm --prefix="./client" ci'
|
|
- 'name': 'Run ESLint'
|
|
'run': 'npm --prefix="./client" run lint'
|
|
|
|
'notify':
|
|
'needs':
|
|
- 'go-lint'
|
|
- 'eslint'
|
|
# Secrets are not passed to workflows that are triggered by a pull request
|
|
# from a fork.
|
|
#
|
|
# Use always() to signal to the runner that this job must run even if the
|
|
# previous ones failed.
|
|
'if':
|
|
${{
|
|
always() &&
|
|
github.repository_owner == 'AdguardTeam' &&
|
|
(
|
|
github.event_name == 'push' ||
|
|
github.event.pull_request.head.repo.full_name == github.repository
|
|
)
|
|
}}
|
|
'runs-on': 'ubuntu-latest'
|
|
'steps':
|
|
- 'name': 'Conclusion'
|
|
'uses': 'technote-space/workflow-conclusion-action@v1'
|
|
- 'name': 'Send Slack notif'
|
|
'uses': '8398a7/action-slack@v3'
|
|
'with':
|
|
'status': '${{ env.WORKFLOW_CONCLUSION }}'
|
|
'fields': 'repo, message, commit, author, workflow'
|
|
'env':
|
|
'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}'
|
|
'SLACK_WEBHOOK_URL': '${{ secrets.SLACK_WEBHOOK_URL }}'
|