Mercurial > ec-dotfiles
annotate vendor/vim-packs/srcery-vim/.github/workflows/lint.yaml @ 704:1e0f578f6752
Update vendor and add support for vim packs
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 18 Dec 2022 20:06:46 +0900 |
parents | |
children | 78469331407e |
rev | line source |
---|---|
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
1 --- |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
2 name: Check Them Vim Files |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
3 |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
4 on: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
5 push: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
6 pull_request: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
7 branches: [$default-branch] |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
8 |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
9 jobs: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
10 lint: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
11 runs-on: ubuntu-latest |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
12 name: Linting |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
13 steps: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
14 - uses: actions/checkout@v3 |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
15 - uses: actions/setup-python@v4 |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
16 with: |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
17 python-version: "3.x" |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
18 - name: Install Vint |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
19 run: | |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
20 python -m pip install --upgrade pip setuptools wheel |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
21 pip install --upgrade vim-vint |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
22 - name: Vinting code |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
diff
changeset
|
23 run: vint --verbose --stat $(find . -type f -name '*.vim') |