2021-09-15 11:12:36 +00:00
|
|
|
name: Ligthweight GithubActions
|
2021-09-15 11:53:24 +00:00
|
|
|
on: # yamllint disable-line rule:truthy
|
2021-09-10 09:12:11 +00:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
jobs:
|
2021-09-15 09:03:47 +00:00
|
|
|
Style-Check:
|
2021-09-10 09:12:11 +00:00
|
|
|
runs-on: [self-hosted]
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v2
|
2021-09-15 09:02:38 +00:00
|
|
|
- name: Style Check
|
|
|
|
env:
|
|
|
|
YANDEX_S3_ACCESS_KEY_ID: ${{ secrets.YANDEX_S3_ACCESS_KEY_ID }}
|
|
|
|
YANDEX_S3_ACCESS_SECRET_KEY: ${{ secrets.YANDEX_S3_ACCESS_SECRET_KEY }}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
run: cd $GITHUB_WORKSPACE/tests/ci && python3 style_check.py
|