Merge pull request #9383 from thingsboard/ashvayka-patch-1
Update and rename main.yml to check-configuration-files.yml
This commit is contained in:
commit
93ec6d006e
@ -14,20 +14,21 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
name: check_yml_file
|
name: Check configuration files
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'application/src/main/resources/thingsboard.yml'
|
- 'application/src/main/resources/thingsboard.yml'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: check_yml_file
|
name: check_yml_file
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set up Python 3.10
|
- name: Set up Python 3.10
|
||||||
uses: actions/setup-python@v3
|
uses: actions/setup-python@v3
|
||||||
with:
|
with:
|
||||||
@ -35,6 +36,5 @@ jobs:
|
|||||||
architecture: "x64"
|
architecture: "x64"
|
||||||
env:
|
env:
|
||||||
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
|
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
|
||||||
|
|
||||||
- name: Run Verification Script
|
- name: Run Verification Script
|
||||||
run: python3 tools/src/main/python/check_yml_file.py
|
run: python3 tools/src/main/python/check_yml_file.py
|
||||||
Loading…
x
Reference in New Issue
Block a user