mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-25 08:55:08 +00:00
Delete .github/workflows/lint.yml
This commit is contained in:
parent
f0c32f6a67
commit
3df691875a
1 changed files with 0 additions and 43 deletions
43
.github/workflows/lint.yml
vendored
43
.github/workflows/lint.yml
vendored
|
|
@ -1,43 +0,0 @@
|
||||||
name: Lint
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- "images/**"
|
|
||||||
- ".github/workflows/docker-build.yml"
|
|
||||||
- "apps.json"
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
- "images/**"
|
|
||||||
- ".github/workflows/docker-build.yml"
|
|
||||||
- "apps.json"
|
|
||||||
workflow_dispatch: {}
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
if: ${{ github.repository == 'digikwal/frappe_docker' }}
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.10.6"
|
|
||||||
|
|
||||||
- name: Setup Go (for shfmt)
|
|
||||||
uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: "^1.14"
|
|
||||||
|
|
||||||
- name: Install pre-commit
|
|
||||||
run: pip install -U pre-commit
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: pre-commit run --color=always --all-files
|
|
||||||
env:
|
|
||||||
GO111MODULE: on
|
|
||||||
Loading…
Reference in a new issue